Quantum processor, and method of quantum processing

ABSTRACT

A method of quantum processing using a quantum processor comprising a plurality of Kerr non-linear oscillators (KNOs), each operably drivable by both i) a controllable single-boson drive and ii) a controllable two-boson drive, the method comprising simultaneously controlling a drive frequency and a drive amplitude of the controllable single-boson drives to define a problem and controlling a drive frequency and a drive amplitude of the two-photon drives to define the Hilbert space, including increasing the amplitude of the two-boson drive and reaching both amplitude conditions a) 4 times the amplitude of the two-boson drives being greater than the loss rate, and b) the amplitude of the two-boson drives being greater than the amplitude of the single-boson drive, and maintaining both amplitude conditions a) and b) until a solution to the problem is reached; and reading the solution.

BACKGROUND

It was known to perform quantum processing using resonators instead of qubits. Indeed, photonic cat states (quantum superposition of macroscopically distinct states) stored in high Q factor resonators show great promise for hardware efficient universal quantum computing. Although known approaches were satisfactory to a certain extent, there remained room for improvement. In particular, there was a need to provide additional resilience to noise of a nature which could affect quantum effects, and there was a need to provide scalability.

SUMMARY

Cat states can be prepared in a Kerr-nonlinear oscillator by the use of a two-boson drive. This preparation can be robust against single-boson loss. A two-boson drive can eliminate undesirable phase evolution induced by a Kerr nonlinearity. The concept of transitionless quantum driving can be exploited to provide non-adiabatic initialization of cat states.

In accordance with one aspect, there is provided a method of quantum processing using a quantum processor comprising a plurality of Kerr non-linear oscillators (KNOs), each operably drivable by both i) a controllable single-boson drive and ii) a controllable two-boson drive, the method comprising simultaneously controlling a drive frequency and a drive amplitude of the controllable single-boson drives to define a problem and a drive frequency and a drive amplitude of the two-photon drives to define the Hilbert space, in accordance with a protocol, said protocol including increasing the amplitude of the two-boson drive and reaching both amplitude conditions a) 4 times the amplitude of the two-boson drives being greater than the loss rate, and b) the amplitude of the two-boson drives being greater than the amplitude of the single-boson drive, and maintaining both amplitude conditions a) and b) until a solution to the problem is reached; and, reading the solution.

The solution can be read in a manner formerly known in the art, such as using homodyne detection. In an alternate embodiment, heterodyne detection can be used to read the solution, for instance.

As will be understood by persons having ordinary skill in the art, the specific moment in the protocol after which the amplitude conditions are to be maintained will vary from one problem to another. Generally, it can be preferred to exceed the amplitude conditions as much as possible within practical constraints. In practical terms, it can be preferred to exceed the amplitude condition a) by at least 4 times, preferably at least 10 times, more preferably at least 100 times, and to exceed amplitude condition b) by at least two times, preferably at least 4 times.

On another aspect, quantum annealing aims at solving combinatorial optimization problems mapped to Ising interactions between quantum spins. A quantum annealer can be provided with a scalable network of two-boson driven KNOs where each resonator encodes an Ising spin in a subspace formed by two coherent states of opposite phases. A fully-connected optimization problem can be mapped to local fields driving the oscillators, the oscillators themselves being connected with only local four-body interactions.

To perform quantum annealing, the KNOs can be arranged in a triangular lattice structure wherein the KNOs are arranged in a plurality of rows including a first row having a single KNO and subsequent rows each having a number of KNOs corresponding to the number of KNOs of the previous row plus one, and in which the KNOs are arranged in groups of nearest neighbor KNOs in which the KNOs of each group are locally interconnected to one another for boson exchange within the corresponding group via a corresponding connector, and wherein the KNOs of each group have individual frequencies a, b, c, d, different from one another while respecting a+b=c+d throughout the triangular lattice structure.

More specifically, the triangular lattice structure can be terminated by a plurality of fixed phase sources forming a termination row. Accordingly, the triangular lattice structure can have each connector connecting two adjacent KNOs of the same row, a KNO of a previous row, and a KNO of the next row or a fixed phase source if the next row is the termination row. The groups of nearest neighbors can thus be more specifically either formed of four KNOs, or of three KNOs and a corresponding one of said fixed phase sources. In the groups of nearest neighbors formed of three KNOs and a corresponding one of said fixed phase sources, the individual frequencies a, b, c, d, of the KNOs and of the fixed source are also different from one another while respecting a+b=c+d.

Typically, in the context of a quantum annealer in which the bosons are microwaves (non-optical photons), the frequency difference between KNOs of a same group can be above 100 MHz, preferably above 500 MHz. The frequency difference can vary depending on the application (e.g. optical photons, microwave photons or phonons). The fixed phase sources can be fixed resonators always on an ‘on’ state, which are not used to define the problem, but which can contribute to the boson exchange and the a+b=c+d condition. It will be understood that the expression “triangular” in “triangular lattice structure” refers to the connectivity structure, independently of the actual link sizes of a given embodiment. It will be understood that in a given embodiment, the actual link sizes could deform the actual structure in a manner that it resembles a different shape than a triangle (e.g. a circle). It will also be understood that connecting can be achieved by positive or negative coupling.

To perform quantum annealing with the triangular lattice structure, the method can further comprise: performing boson exchange within groups of nearest neighbors at corresponding coupling strengths and coupling constants, the KNOs of each group of nearest neighbors having a corresponding strength of Kerr-nonlinearity, wherein said protocol further includes controlling the drives in a manner that, for at least a portion of the protocol leading to the reaching of the solution i) each coupling strength is maintained greater than the amplitude of the corresponding single-boson drives and ii) each coupling constant is maintained smaller than the corresponding strengths of Kerr-nonlinearity.

In other words, the coupling can be in the form

(â_(i) ^(†)â_(j) ^(†)â_(k)â_(l)+h.c.), where â_(i) ^(†), â_(j) ^(†), â_(k) ^(†), â_(l) ^(†) and â_(i), â_(j), â_(k), â_(l) are the boson annihilation and creation operators for the groups of nearest neighbors. Moreover, if we state that

is the coupling constant for the connector/group of nearest neighbors i, j, k, l, ε_(i) is the amplitude of two-boson drive, K_(i) is the strength of Kerr non-linearity and J_(i) is the amplitude of the single-boson drive for the KNO or fixed phase source i, the coupling constant

and the drives can be controlled so that

ε_(i) ^(3/2)/K_(i) ^(3/2)>J_(i) (each coupling strength is maintained greater than the amplitude of the corresponding single-boson drives) and

<<K_(i) (each coupling constant is maintained smaller than the corresponding strengths of Kerr-nonlinearity) as nearing the solution to the problem, as will be presented in further detail below. It will be understood that the value of

can vary from one connector/group of nearest neighbors to another, and that the values of ε_(i), K_(i), and J_(i) can vary from one KNO or fixed phase source to another. It will be understood that in a given protocol for a given problem, the amplitude conditions can be met before the coupling conditions, or the coupling conditions can be met before the amplitude conditions, for instance. The coupling conditions may be met from the beginning of the protocol, or only met after a certain point during the protocol, for instance.

In accordance with another aspect, there is provided a quantum annealer comprising a plurality of Kerr non-linear oscillators (KNOs), each operably drivable by both i) a controllable single-boson drive and ii) a controllable two-boson drive, the KNOs being arranged in a triangular lattice structure wherein the KNOs are arranged in a plurality of rows including a first row having a single KNO and subsequent rows each having a number of KNOs corresponding to the number of KNOs of the previous row plus one; and a plurality of connectors, each connector connecting the KNOs in a manner to allow boson exchange between KNOs within groups of nearest neighbors.

In the triangular lattice structure, KNOs can be arranged in groups of nearest neighbor KNOs in which the KNOs of each group are locally interconnected to one another for boson exchange within the corresponding group via a corresponding connector. In each group of nearest neighbors, the KNOs can have individual frequencies a, b, c, d, different from one another while respecting a+b=c+d throughout the triangular lattice structure.

The triangular lattice structure can be terminated by a plurality of fixed phase sources forming a termination row, the groups of nearest neighbors thus being either formed of four KNOs, or of three KNOs and a corresponding one of said fixed phase sources. In the groups of nearest neighbors formed of three KNOs and a corresponding one of said fixed phase sources, the individual frequencies a, b, c, d, of the KNOs and of the fixed source are also different from one another while respecting a+b=c+d. The fixed phase sources can be oscillators, such as KNOs or resonators for instance, driven in a manner to be maintained at a fixed phase. Alternately, the fixed phase sources can be coherent drives, for instance.

The connectors can be adapted to allow the mode of operation presented above.

As well known in the art, Kerr non-linear oscillators are understood to provide an n(n−1) type response, where n is the number of bosons in the oscillator.

One possible embodiment for KNOs is Kerr non-linear resonators (KNRs) in which the bosons used are more specifically photons. Indeed, KNRs, which are characterized by photon-to-photon interaction, display very rich physics and are consequently the focus of much theoretical and experimental work. These nonlinear oscillators exhibit bifurcation, can be used to generate squeezed radiation and for quantum limited amplification. Moreover, a KNR initialized in a coherent state evolves to a quantum superposition of out-of-phase coherent states, also known as a cat state. In practice, Kerr nonlinearities K in atomic systems are, however, often small in comparison to photon loss rate κ, making the observation of these non-classical states of light difficult. As an alternative approach, strong photon-photon interaction can readily be realized in superconducting quantum circuits, with K\κ˜30 demonstrated experimentally. This has led to the observation of cat states in the transient dynamics of a KNR realized by coupling a superconducting qubit to a microwave resonator. These photonic cat states play an important role in understanding the role of decoherence in macroscopic systems, in precision measurements and are useful for quantum computation. However, they are sensitive to undesirable interactions and photon loss.

To address this issue, one approach, known as the qcMAP gate, relies on the strong dispersive qubit-field interaction that is possible in circuit quantum electrodynamics (circuit QED) to transfer an arbitrary state of a superconducting qubit into a multi-legged cat state. This method is, however, susceptible to single-photon loss that decoheres the cat. This loss also reduces the amplitude of the cat, something that must be compensated for by re-pumping in order to avoid significant overlap between the coherent state. A second approach exploits engineered two-photon dissipation realized by coupling a superconducting qubit to two microwave cavities. In the absence of single-photon loss, the steady-state of the field is a cat state whose parity depends on the initial number state of the field. To preserve coherence of the cat, an important experimental challenge is that the rate of single-photon loss must be much smaller than the rate of two-photon loss.

A simple alternative approach to encode and stabilize cat states based on two-photon driving of a KNR, presented in greater detail below, takes advantage of the fact that the coherent states |±α

and, consequently the cat states |

_(α) ^(±)=

_(α) ^(±)(|α

±|−α

) with

_(α) ^(±)=1/√{square root over (2(1±e^(−2|α|) ² ))}, are degenerate eigenstates of the KNR under two-photon driving. Remarkably, this property holds true even in the presence of single-photon loss making this protocol particularly robust and obviating the need for energy re-pumping. Moreover, in contrast to the above-mentioned scheme, cat state preparation with this approach does not require dissipation but rather relies on adiabatically turning on the two-photon drive, the number state |0/1

evolving into |

_(α(t)) ^(+/−)

. We find that the fidelity of this preparation approaches unity when the Kerr nonlinearity K is large with respect to the photon loss rate κ, something that is easily realized in current circuit QED experiments. By exploiting the concept of transitionless quantum driving, we show that rapid, non-adiabatic cat state preparation is possible by controlling the amplitude and phase of the two-photon drive.

While large Kerr nonlinearities can be used to produce cat states, it can also lead to undesired deformations of these states. This deformation is problematic for qubit-based schemes because of the spurious Kerr nonlinearity inherited by the field from the qubit. This can affect, for example, the qcMAP protocol where the qubit-induced Kerr nonlinearity can lead to undesirable phase evolution and distortion of the cat state. Although this deterministic phase evolution can be corrected with qubit-induced-gates, this can involve exposing the field to the decoherence channel of the qubit. Moreover, in the presence of photons loss, this phase evolution leads to non-deterministic phase errors. As presented below, the addition of a two-photon drive of appropriate amplitude and phase during the qcMAP can cancel this distortion and the corresponding dephasing.

Taking into consideration the context of the engineered subspace of a two-photon driven KNR, we consider a universal set of gates for an encoding where the coherent states {|+α

, |−α

} In mapped to the logical states {|0

, |1

}. This mapping is possible because of the quasi-orthogonality of coherent states for large α. Accordingly, high-fidelity operations can be realized with realistic parameters. For instance, superconducting Josephson parametric amplifiers allow the implementation of a two-photon drive along with a Kerr nonlinearity in a relatively simple setup attractive for building a large scale quantum computing architecture.

Many hard combinatorial optimization problems arising in diverse areas such as physics, chemistry, biology, and social science can be mapped onto finding the ground state of an Ising Hamiltonian. This problem, referred to as the Ising problem, is in general NP-hard. Quantum annealing, based on adiabatic quantum computing (AQC), aims to find solutions to the Ising problem, with the hope of a significant speedup over classical algorithms. In AQC, a system is evolved slowly from the non-degenerate ground state of a trivial initial Hamiltonian, to that of a final Hamiltonian encoding a computational problem. During the time-evolution, the energy spectrum of the system changes and, for the adiabatic condition to be satisfied, the evolution must be slow compared to the inverse minimum energy gap between the instantaneous ground state and the excited states. The scaling behaviour of the gap with problem size, thus, determines the efficiency of the adiabatic annealing algorithm.

In order to perform quantum annealing, the Ising spins can be mapped to two levels of a quantum system, i.e. a qubit, and the optimization problem is encoded in the interactions between these qubits. Adiabatic optimization with a variety of physical realizations such as nuclear magnetic spins and superconducting qubits has been demonstrated. However, despite great efforts, whether these systems are able to solve large problems in the presence of noise remained an open question.

A general Ising problem is defined on a fully connected graph of Ising spins. However, efficient embedding of large problems with such long-range interactions is a challenge because physical systems more naturally realize local connectivity. In one approach, a fully connected graph of Ising spins is embedded in a so-called Chimera graph. Alternatively, N logical Ising spins can be encoded in M=N(N−1)/2 physical spins with M−N+1 constraints. Each physical spin represents the relative configuration of a pair of logical spins. An all-to-all connected Ising problem in the logical spins can be realized by mapping the logical couplings onto local fields acting on the physical spins and a problem-independent four-body coupling to enforce the constraints. This simple design requires only precise control of local fields, making it attractive for scaling to large problem sizes. Accordingly, a physical platform for quantum annealing can be provided that is both scalable and shows robustness to noise, in which the Ising problem is encoded in a network of two-boson driven KNOs. A single Ising spin can be mapped to two coherent states with opposite phases, which constitute a two-fold degenerate eigenspace of the two-boson-driven KNR in the rotating frame of the drive. Quantum adiabatic algorithms can be encoded by a quantum spin in quasi-orthogonal coherent states, in a system where the dominant source of error is single-boson loss from the oscillators. However, coherent states can be invariant under the action of the jump operator, and the encoded Ising spin can stabilized against bit flips. The adiabatic optimization can be carried out by initializing the resonators to vacuum, and varying only single-site drives to adiabatically evolve the system to the ground state of the embedded Ising problem. This realization can allow encoding arbitrary Ising problems in a manner which overcomes connectivity restrictions, or restrictions on the signs and amplitudes of the spin-spin couplings.

Earlier studies have focused on idealized quantum systems without noise analysis and did not consider practical implementations of these ideas. In contrast, an analysis presented below considers the performance of quantum annealing in the presence of single-photon loss, by far the dominant loss mechanism. The probability for the system to jump from the instantaneous ground state to one of its excited states due to boson loss during the adiabatic protocol can be greatly suppressed. This resilience to the detrimental effects of photon loss can lead to high success probabilities in finding the optimal solution to optimization problems mapped on two-photon driven KNRs.

It will be understood that the expression ‘computer’ as used herein is not to be interpreted in a limiting manner. It is rather used in a broad sense to generally refer to the combination of some form of one or more processing units and some form of memory system accessible by the processing unit(s). Similarly, the expression ‘controller’ as used herein is not to be interpreted in a limiting manner but rather in a general sense of a device, or of a system having more than one device, performing the function(s) of controlling one or more device such as an electronic device or an actuator for instance.

It will be understood that the various functions of a computer or of a controller can be performed by hardware or by a combination of both hardware and software. For example, hardware can include logic gates included as part of a silicon chip of the processor. Software can be in the form of data such as computer-readable instructions stored in the memory system. With respect to a computer, a controller, a processing unit, or a processor chip, the expression “configured to” relates to the presence of hardware or a combination of hardware and software which is operable to perform the associated functions.

Many further features and combinations thereof concerning the present improvements will appear to those skilled in the art following a reading of the instant disclosure.

DESCRIPTION OF THE FIGURES

In the figures,

FIG. 1 represents a steady-state Wigner function of a two-photon driven KNR with |K|/κ=⅛ and (a) ε_(p)=16K, K>0 and (b) ε_(p)=4K, K<0, corresponding to κ/8|Kα₀ ²|˜ 1/16 and ˜¼ respectively. The black circles indicate the expected position of the coherent states.

FIG. 2 represents a Wigner function for a KNR initialized in vacuum |0

and driven by (a) a single parametric drive ε_(p)=ε_(p) ⁰[1−exp(−t⁴/τ⁴)] (b) with two orthogonal parametric drives, ε_(p)=ε_(p) ⁰[1−exp(−t⁴/τ⁴)] and ε_(p)′(t)=i{dot over (α)}₀(t)N_(α) ₀ ⁻(t)/(1+2α₀(t)), where α₀(t)=√{square root over (ε_(p)(t)/K)}. The Wigner function is plotted at time t=1.37τ, with τ=1/K, ε_(p) ⁰=4K. Without the auxiliary drive ε_(p)′ the non-adiabatic driving of the system results in an imperfect cat state. However, the auxiliary drive induces counter-adiabatic terms, resulting in near perfect initialization of the cat state.

FIG. 3 represents Wigner functions at different times for a lossy KNR initialized to |

₂ ⁺

without (a-c) and with (d-f) two-photon driving. K/κ=20 and ε_(p)˜4K.

FIG. 4 represents a Wigner function of final state under qcMAP gate with (a) ideal dispersive Hamiltonian, (b) full Jaynes-Cummings Hamiltonian and (c) full Jaynes-Cummings Hamiltonian and two-photon drive.

FIG. 5 represents time evolution of the Wigner function when the resonator is initialized to the coherent state |2

and κ=K/250. In the absence of a parametric drive (a-c), the coherent state evolves under the Kerr Hamiltonian and will finally decay to the vacuum state |0

. With a parametric drive ε_(p)˜4K (d-e) (satisfying Eq. (3) in the main text), the initial state is the eigenstate of the effective Hamiltonian and it remains in that state.

FIG. 6 represents numerically evaluated eigenenergies and Wigner function of the first four eigenstates for (a) K>0 (b) K<0, ε_(p)(t)=ε_(p) ⁰[1−exp(−t⁴/τ⁴)], ε_(p) ⁰=4K and τ=5K.

FIG. 7 represents optimized pulse shapes using an implementation of the GRAPE algorithm⁴ for ε_(p,x)(t)/K (dotted) and ε_(p,y)(t)/K (solid) in order to initialize the cat state

₂ ⁺ with high fidelity in time T=0.3/K.

FIG. 8 represents the Wigner function of the cat state in the lab frame simulated using a realistic circuit of a resonator coupled to a flux-modulated SQUID.

FIG. 9. (a) represents probability for the system to be in state |

_(α) ₀ ⁺

(solid) and |

_(α) ₀ ⁻

(dashed) for ε_(p)=4K, ε=0.8K, α₀=2. (b) represents probability for the system to be in state |α₀

(solid) and |−α₀

(dashed) for ε_(p)=K, δ=K/3, α₀=1. Single photon loss for the simulations (a,b) is κ=K/250. (c) represents probability for the system to be in the state |

_(α) ₀ ⁻

at time T=π/4ε_(z)α₀ when it was initialized to the state |

_(α) ₀ ⁺

at t=0. (d) represents probability for the system to be in the state |α₀

at time T=π/4δ|α₀|² exp(−2|α₀|²) when it was initialized to the state |−α₀

at t=0. (e) represents probability for the system to be in state |α, α

+|α, −α

+|−α, α

+|−α, −α

(solid) and |α, α

+i|α, −α

+i|−α, α

+|−α, −α

(dashed) for ε_(p)=4K, ε_(zz)=K/5, α₀=2. Single photon loss for the simulations is κ=K/250. The Bloch sphere is shown on the top left to illustrate the rotation axis.

FIG. 10 represents time dependence of the fidelity of the cat state, with κ≠0, K=0, ε_(p)=0 (dashed line), K=20κ, ε_(p)=0 (triple-dash line), and K=20, ε_(p)=4K (solid line).

FIG. 11 represents the contour plot of the metapotential corresponding to Ĥ_(p)=−Kâ^(†2)â²+ε_(p)(â^(†2)+â²)+ε₀(â^(†)+â), with ε_(p)=4K and (a) ε₀=0, (b) ε₀=0.4K. The metapotentials, shown in the units of the Kerr-nonlinearity, are characterized by (a) two peaks of equal heights corresponding to the degenerate states |0

and |1

, and (b) two peaks of different heights, indicating lifting of degeneracy between the encoded spin states |0

and |{circumflex over (1)}

.

FIG. 12 represents adiabatic protocol with single spin. (a) represents change of the energy of the ground and first excited state as a function of time in a single resonator for ε_(p)=4K, ε₀=0.2K and δ₀=0.2K. The minimum energy gap is also shown with Δ_(min)=0.16K. (b) represents the Wigner function of the KNR state at three different times when initialized to either the excited |n=1

or (vacuum) ground state |0

, respectively. (c) represents petapotential corresponding to Ĥ₁ (t=0.2τ) with ε₀=0.2K and ε₀=−0.2K showing two peaks of unequal height. The lower peak (corresponding to the ground state) is circular, whereas the higher one (corresponding to the excited state) is deformed as highlighted by circles. (d) represents transition matrix elements between the ground |ψ_(g)(t)

and excited states |ψ_(e)(t)

in the event of a photon jump during the adiabatic protocol.

FIG. 13 represents success probability for the two coupled spins problem. Loss-rate dependence of the success probability for the two-spin adiabatic algorithm in a system of two-photon driven KNRs with single-photon loss κ (circles) and qubits with pure dephasing at rate γ_(ϕ) (squares). The quality factor Q=ω_(r)/κ is indicated on the top axis for a KNR of frequency ω_(r)/2π=5 GHz.

FIG. 14 represents physical realization of the LHZ scheme. (a) illustrates of the plaquette consisting of four JPAs coupled by a Josephson junction (JJ). The four JPAs have different frequencies and are driven by two-photon drives such that ω_(p,k)+ω_(p,l)=ω_(p,m)+ω_(p,n). The nonlinearity of the JJ induces a four-body coupling between the KNRs. (b) illustrates a fully-connected Ising problem with N=5 logical spins. (c) The same problem embedded on M=10 physical spins and 3 fixed spins on the boundary.

FIG. 15 represents success probability for the frustrated three-spin problem. (a) is a scenario with LHZ encoding in which probability of successfully finding the ground state of a frustrated three-spin Ising problem by implementing the adiabatic algorithm on a plaquette of four KNRs with single-photon loss (circles) for ε_(p) ⁰=2K, δ₀=0.45K,

=0.05K, J=0.095K. The success probability for an implementation with qubits with pure dephasing rate γϕ is also shown (squares). The two cases are designed to have identical Δ_(min) and computation time τ=40/Δ_(min). The quality factor Q=ω_(r)/κ is indicated on the top axis for a KNR of frequency ω_(r)/2π=5 GHz. (b) represents a scenario without encoding in which the probability of successfully finding the ground state of a frustrated three-spin Ising problem by implementing the adiabatic algorithm on three directly coupled KNRs with single-photon loss (circles) for ε_(p) ⁰=2K, δ₀=0.45K, J_(k,j)=0.095K for k, i=1, 2, 3 Note that the local drive J in the embedded problem is same as the coupling J_(k,j) in the un-embedded one and the minimum energy gap in the un-embedded problem is twice that of the embedded problem. The success probability for an implementation with qubits without encoding and with pure dephasing is also shown (squares).

FIG. 16 represents ground state in presence of single-photon drive, and more specifically time evolution of the probability of a single resonator to remain in the ground state

ψ_(g)|{circumflex over (ρ)}|ψ_(g)

, for different single-photon drive strength. The two-photon drive strength is fixed to ε_(p)=2K and κ=0.2K.

FIG. 17. Amplitude of field with and without RWA: (a) Time dependence of the field |

â

| in a two-photon driven KNR initialized to |α₀

in the presence of single-photon loss and without making the rotating wave approximation (RWA). By increasing the ratio of frequency of the two-photon drive ω_(p) to the tunneling barrier ΔU=ε_(p) ²/K, the probability of resonant excitations exponentially decreases and the field amplitude remains essentially constant at its original value. The solid grey and dotted black lines correspond to ω_(p)/ΔU=25 and 500, respectively. The solid black line is obtained under the RWA. The inset shows an enlarged view of the non-RWA results with ω_(p)/ΔU=500 (dotted black line) and RWA results (solid black line). The other parameters are κ=K/100, ε_(p)=2K, α₀=√{square root over (2)} and ΔU=4K. Wigner function (b) in the rotating frame at time t=50/ε_(p) under RWA, (c) in the laboratory frame without RWA and ω_(p)/ΔU=500, and (d) in the laboratory frame without RWA and ω_(p)/ΔU=25.

FIG. 18 represents a Wigner function in the laboratory frame after the annealing schedule: (a) single-photon drive amplitude ε₀>0 and (b) ε₀<0. Evolution is simulated using the full Cosine potential given of Eq.(64). As expected, the final coherent states for ε₀>0 and ε₀<0 are separated by a phase of π.

FIG. 19 represents evolution of the energy spectrum during the adiabatic evolution, and more specifically the time-dependent energy spectrum during the adiabatic protocol for the fully connected three spin problem on a plaquette when the interactions between the spins is (a) anti-ferromagnetic, in which case the ground state of the problem in the physical spin basis is three fold-degenerate and (b) ferromagnetic, in which case the ground state of the problem in the physical spin basis is non-degenerate. The energy is measured with respect to the ground state ΔE=E_(i)−E₀.

FIG. 20 represents average success probability for all problem instances on a plaquette, and more specifically the dependence of the average success probability for all fully connected problems on a single plaquette when the adiabatic protocol is implemented using KNRs (circles) characterized by single photon loss rate κ and qubits (squares) characterized by the dephasing rate γφ. The total computation time τ is the same for both cases.

FIG. 21 illustrates an example circuit for physical realization of a plaquette in which four JPAs are linearly coupled to a mode of a Josephson junction via capacitors. The JPA modes are far detuned from the junction mode so that the coupling between them is dispersive. The non-linearity of the junction induces a four-body coupling between the JPAs if the frequencies of the two-photon drives to the JPAs are such that ω_(p,1)+ω_(p,2)=ω_(p,3)+ω_(p,4).

FIG. 22 represents average success probability for all problem instances on a plaquette with residual interactions, and more specifically shows the dependence of the average success probability for all fully connected problems on a single plaquette with the Σ_(k,m=1) ³â_(k) ^(†)â_(k) ^(†)â_(m) ^(†)â_(m) term included.

FIG. 23 is a schematic circuit for implementing a tunable four-body interaction using a Josephson ring modulator (JRM). Classical microwave drives of equal strength but opposite phase, as shown with the dark and light arrows, activates the four-body coupling between the JPAs.

FIG. 24 is a schematic diagram of a quantum processor.

DETAILED DESCRIPTION

Demonstration Concerning Conditions to Control Losses

The Two-Photon Driven KNR Hamiltonian in a Frame Rotating at the Resonator Frequency

Ĥ ₀ =−Kâ ^(†) â ^(†) ââ+(ε_(p) â ^(†2)+ε_(p) *â ²).  (1)

In the above expression, K is the amplitude of the Kerr nonlinearity and ε_(p) the amplitude of the two-photon drive. The above Hamiltonian is known as the Cassinian oscillator Hamiltonian, and can be embodied, for example, by a SQUID-terminated λ/4 microwave resonator with flux pumping at twice the resonator frequency, a device known as Josephson parametric amplifier (JPA). This Hamiltonian can be re-written as

$\begin{matrix} {{\hat{H}}_{0} = {{{- {K\left( {a^{\dagger 2} - \frac{ɛ_{p}^{*}}{K}} \right)}}\left( {a^{2} - \frac{ɛ_{p}}{K}} \right)} + {\frac{{ɛ_{p}}^{2}}{K}.}}} & (2) \end{matrix}$

This form of the Hamiltonian illustrates that the two coherent states |±α

with α=(ε_(p)/K)^(1/2), which are the eigenstates of the annihilation operator â, are also degenerate eigenstates of Eq.(1) with energy |ε_(p)|²/K. Equivalently, the even-odd parity states |

_(α) ^(±)

are also the eigenstates of Ĥ₀. This argument can be generalized to Hamiltonians of the form −Kâ^(†n)â^(n)+(ε_(p)â^(†n)+ε_(p)*â^(n)) that have a set of n coherent states as degenerate eigenstates (see below).

In the presence of single-photon loss, the resonator state evolves according to the master equation {circumflex over ({dot over (ρ)})}=−i(Ĥ_(eff){circumflex over (ρ)}−{circumflex over (ρ)}Ĥ_(eff) ^(†))+κâ{circumflex over (ρ)}â^(†), with the non-Hermitian effective Hamiltonian Ĥ_(eff)=Ĥ₀−iκâ^(†)â/2. While the steady-state of this master equation can be obtained analytically, it is simple to show (see below) that for κ/8|Kα₀ ²<<1 the coherent states |±α₀

=|±r₀e^(iθ) ⁰

are degenerate eigenstates of Ĥ_(eff) with

$\begin{matrix} {{r_{0} = \left( \frac{{4ɛ_{p}^{2}} - {\kappa^{2}/4}}{4K^{2}} \right)^{1/4}},{{\tan \mspace{11mu} 2\theta_{0}} = {\frac{\kappa}{\sqrt{{16ɛ_{p}^{2}} - \kappa^{2}}}.}}} & (3) \end{matrix}$

This reduces to the eigenstates of Ĥ₀ in the absence of photon loss. The angle θ₀ is determined by ε_(p), with θ₀<0 (θ₀>0) for ε_(p)>0 (ε_(p)<0). The last term of the master equation, κa{circumflex over (ρ)}a^(†), induces nondeterministic quantum jumps between the even and the odd parity cat states, |

_(α) ₀ ⁺

and |

_(α) ₀ ⁻

, leading to decoherence, but not to leakage out of the degenerate subspace {|

_(α) ₀ ^(±)

}. In steady-state, the density matrix therefore takes the form {circumflex over (ρ)}_(s)=(|α₀

α₀|+|−α₀

−α₀|)/2₂ (see below).

FIG. 1 shows the steady-state Wigner function of a two-photon driven KNR for κ/8|Kα₀ ²|˜¼ and ˜ 1/16 obtained by numerical integration of the master equation. Even for the relatively large value of κ/8|Kα₀|²˜ 1/16 (shown in panel a), the steady-state approaches the ideal case {circumflex over (ρ)}_(s) with a fidelity of 99.91%. As expected and evident from FIG. 1(b), the coherent states are deformed at the larger value of κ/8|Kα₀|²˜¼ and the fidelity with respect to the ideal steady state is reduced to 96.55%. These numerical results confirm that, even in the presence of single-photon loss, it is possible to confine the state of the resonator to the manifold of coherent states |±α₀

. Although the photon loss channel remains the dominant source of error, the resonator can also have small amount of dephasing noise, which can cause jumps between |₀

and |−α₀

. With this bit-flip rate decreasing exponentially with α₀ (see also Supplementary Information below), this channel is neglected here.

Adiabatic Initialization of Cat States:

Going beyond steady-states, we now describe a protocol to deterministically prepare cat states. The vacuum |n=0

and the single-photon Fock state |n=1

are the two-degenerate eigenstates of the undriven KNR. Under the application of a time-dependent two-photon drive ε_(p)(t), the instantaneous eigenstates of the system are the degenerate states |±α₀(t)) (or equivalently |

_(α) ₀ _((t)) ^(±)

), where α₀(t) is given by Eq.(3). Since the two-photon drive preserves parity, under adiabatic increase of ε_(p)(t), the vacuum state |0

evolves to the even parity cat state |

_(α) ₀ _((t)) ⁺

while the single-photon Fock state evolves to the odd parity cat state |

_(α) ₀ _((t)) ⁻

see Supplementary Information below for the evolution of the energy spectrum). To demonstrate this deterministic preparation, we take as an example ε_(p)(t)=ε_(p) ⁰[1−exp(−t⁴/τ⁴)] such that for t>>τ, ε_(p)(t)˜ε_(p) ⁰=4K with τK=5 to satisfy the adiabatic condition. Without photon loss, the fidelity of the resulting cat state at t=6.5/K is 99.9% while for K/κ=250 the fidelity at t=6.5/K is reduced to 98.3%.

High-Fidelity Nonadiabatic Initialization:

To speed up the adiabatic preparation described above, we follow the approach of transitionless driving. This technique relies on introducing an auxiliary counter-adiabatic Hamiltonian, Ĥ′(t)=i[|{dot over (ψ)}_(n)(t)

ψ_(n)(t)|−|ψ_(n)(t)

{dot over (ψ)}_(n)(t)|], chosen such that the system follows the instantaneous eigenstate |ψ_(n)(t)

of the system Hamiltonian Ĥ₀(t) even under nonadiabatic changes of the system parameters. This idea has been experimentally demonstrated with Bose-Einstein condensates in optical lattices and nitrogen vacancy centres in diamonds. Here, to prepare the even parity cat-state |

_(α) ₀ _((t)) ⁺(t)

, the required counter-adiabatic Hamiltonian is

$\begin{matrix} {{{\hat{H}}^{\prime}(t)} = {i\; {{\frac{{\overset{.}{\alpha}}_{0}(t)}{_{\alpha_{0}{(t)}}^{-}}\left\lbrack {{{\hat{a}}^{\dagger}{_{\alpha_{0}{(t)}}^{-}\rangle}{\langle _{\alpha_{0}{(t)}}^{+}}} - {{_{\alpha_{0}{(t)}}^{+}\rangle}{\langle _{\alpha_{0}{(t)}}^{-}}\hat{a}}} \right\rbrack}.}}} & (4) \end{matrix}$

While exact, this does not correspond to an easily realizable Hamiltonian. It can, however, be approximated to (see Methods, below),

$\begin{matrix} {{{\left. {{\hat{H}}^{\prime}(t)} \right.\sim i}\; \frac{{\overset{.}{\alpha}}_{0}(t)}{_{\alpha_{0}{(t)}}^{-}\left\lbrack {1 + {2{\alpha_{0}(t)}}} \right\rbrack}\left( {{\hat{a}}^{\dagger 2} - {\hat{a}}^{2}} \right)},} & (5) \end{matrix}$

which can be implemented with an additional two-photon drive orthogonal to ε_(p)(t). As an illustration of this method, we reconsider the example presented in the previous section now with the much shorter evolution time t=1/K. As shown by the Wigner function in FIG. 2(a), without the additional two-photon drive of Eq.(5), the state at time t=1.37/K is highly distorted. On the other hand, and as illustrated in FIG. 2(b), initialization with the appropriate auxiliary orthogonal two-photon drive leads to cat-state fidelities of 99.9% with κ=0 and 99.5% with κ=K/250. In other words, the protocol is made ˜5 times faster by the addition of the orthogonal drive, thereby improving the fidelity in the presence of single-photon loss. These results, obtained with the analytical expression of Eq.(5), can be further improved upon using numerical optimal control. For example, we find that cat states can be initialized in times as short as 0.3/K with fidelity 99.995% (see Supplementary Information below). Adiabatic cat state preparation with two-photon driving was also investigated in a noiseless idealized KNR. However, eigenspace distortion can arise, as will be discussed below, during gate operations and higher-order nonlinearities can exist in realistic physical implementations.

Realization with Superconducting Circuits:

One standard approach to realize a two-photon driven Kerr-nonlinear resonator is to terminate a λ/4 microwave resonator with a flux-pumped SQUID, a device known as a Josephson parametric amplifier (see also Supplementary Information below). The non-linear inductance of the SQUID induces a Kerr nonlinearity and a two-photon drive is introduced by the modulation of the flux-pump at twice the resonator frequency. As an illustrative example, with a realistic JPA Kerr-nonlinearity of K/2π=750 KHz it is possible to encode a cat state with α₀=2 in a time 0.3/K=63.6 ns using the transitionless driving approach with numerically optimized pulse shape. We have, moreover, simulated the cat state initialization protocol under the exact Hamiltonian of a JPA including the full Josephson junction cosine potential. As discussed in the Supplementary Information below, the results are essentially unchanged showing that the strong state confinement to the coherent states |±α₀

is also robust against higher-order nonlinearities that will arise in a circuit implementation of these ideas. An alternative realization of the two-photon driven KNR is based on a 3D microwave cavity coupled to a Josephson junction. The non-linear inductance of the junction induces a Kerr nonlinearity, while a microwave drive on the junction at the 3D cavity frequency introduces the required two-photon drive.

We note that an engineered dissipation approach can also rely on a two-photon drive to achieve confinement to the subspace of two coherent states with opposite phases, however, the rate is required to be made large with respect to the single-photon loss rate κ for high fidelity initialization of cat states, which can be challenging experimentally. In contrast, the approach presented herein does not rely on dissipation but rather takes advantage of the large Kerr-nonlinearity K that can be realized in superconducting quantum circuits. Even in the presence of two-photon loss, robust confinement is obtained if K>κ_(2ph), a condition that can be easily satisfied in practice.

Stabilization of Cat States Against Kerr Induced Rotation and Dephasing:

Even with high-fidelity cat state preparation, it is important to limit the unwanted phase evolution and dephasing arising from Kerr nonlinearity and single-photon loss. We now illustrate, with two examples, how a two-photon drive of appropriate amplitude and phase can correct this unwanted evolution. First consider a resonator deterministically initialized to |

_(α) ⁺

. FIG. 3(a-c) illustrates the evolution of this initial state in the absence of two-photon drive. Kerr nonlinearity leads to deterministic deformation of the state which, in the presence of single-photon loss, also induces additional dephasing. This results in a reduction of the contrast of the Wigner function fringes, a reduction of the separation of the cat components and a broadening of these components. As a result, the fidelity of |

_(α) ^(±)

decreases faster in a KNR than in a linear resonator (see Supplementary Information below). While the deterministic phase rotation can be accounted for and corrected in a simple way, this is not the case for Kerr-induced dephasing. FIG. 3(d-f) illustrates the same initial cat state now stabilized against Kerr-induced rotation and dephasing by the application of a two-photon drive. This drive is chosen such that its amplitude ε_(p) satisfies Eq.(3). The confinement in phase space provided by the two-photon driven KNR prevents amplitude damping of the stabilized coherent states |±α₀

. As a result, the cat state fidelity in this system decreases more slowly in time that in a linear resonator. As a simple extension, we also find that it is possible to stabilize coherent states against Kerr-induced rotation and dephasing (see Supplementary Information below). These somewhat counterintuitive results show that, even in the presence of loss, a Gaussian drive (i.e. two-photon drive) can completely remove the highly non-Gaussian effect of a Kerr nonlinearity.

As a second example, a qcMAP gate is considered for cat state preparation, a protocol that relies on the strong dispersive qubit-resonator interaction that is realized in circuit QED. In practice, this strong interaction is accompanied by a qubit-induced Kerr nonlinearity of the field. As a result, even at modest α, cat states suffer from deformations. This effect is illustrated in FIG. 4(a,b) which shows the cat state obtained from qcMAP under ideal dispersive interaction (ignoring any Kerr nonlinearities) and under the full Jaynes-Cummings Hamiltonian, respectively. Distortions are apparent in panel b) and the fidelity to the ideal cat is reduced to 94.1%. In contrast, FIG. 4(c) shows the same Wigner function prepared using the qcMAP protocol with the full Jaynes-Cummings interaction and an additional two-photon drive. The resulting fidelity is 99.4%, approaching the fidelity of 99.8% obtained under the ideal, but not realistic, dispersive Hamiltonian. The amplitude of the two-photon drive was optimized numerically to take into account the qubit-induced Kerr nonlinearity (see Supplementary Information below).

Universal Quantum Logic Gates:

The realization of a universal set of gates in the two-photon driven KNR will now be discussed. Taking advantage of the quasi-orthogonality of coherent states for large α, both the {|

_(α) ₀ ^(±)

} and the {|α₀

} basis can be used as logical states. Here, we choose the latter which we will now refer to as {|0

, |1

}. With this choice, a logical Z rotation can be realized by lifting the degeneracy between |0

and |1

using a single-photon drive in combination to Ĥ₀: Ĥ_(z)=Ĥ₀+ε_(z)(â^(†)+â). For |ε_(z)|<<|4Kα₀ ³| and ε_(p) real, the only effect of this additional drive is to lift the degeneracy by δ_(z)=4ε_(z)α₀ (Supplementary Information below). Indeed, in the space spanned by {|0

, |1

}, the single-photon drive Hamiltonian can be expressed as Īε_(z)(â^(†)+â)Ī=δ_(z) σ _(z)/2, where Ī=|0

0|+|1

1| and σ _(z)=|0

0|−|1

1|. Numerical simulations of this process for a time τ=1/δ_(z), corresponding to the gate {circumflex over (R)} _(z) (π), with the resonator initialized to |

_(α) ₀ ⁺

and the choices ε_(p)=4K, ε_(z)=0.8K leads to a fidelity of 99.9% with κ=0 and 99.5% for K/κ=250.

Increasing ε_(z), so that the condition |ε_(z)|<<4Kα₀ ³| is no longer satisfied, distorts the eigenstates and as a consequence the fidelity of the gate decreases. The dependence of the gate fidelity on the strength of the single photon drive is examined further in Supplementary Information below.

The strong state confinement resulting from the two-photon driven KNR prevents population transfer between the two logical states, making it difficult to implement X rotations. One approach to implement {circumflex over (R)}(π/2) is to temporarily remove the two-photon drive and let the state evolve under the Kerr Hamiltonian. Alternatively, an arbitrary {circumflex over (R)} _(x) (θ) can be realized by introducing a detuning between the two-photon drive and the resonator corresponding to the Hamiltonian Ĥ_(x)=Ĥ₀+δ_(x)â^(†)â. For δ_(x)<<2ε_(p) (Supplementary Information below), this can be understood by projecting the number operator in the logical basis: Īâ^(†)âĪ=|a₀|²Ī−|α₀|²e^(−2|α) ⁰ ^(|) ² σ_(x). Despite the exponential reduction with α₀ of the effective Rabi frequency, high-fidelity rotations can be achieved. Numerical simulations on a resonator initialized to |0

and for a time τ=π/(4δ_(x)|α₀|²e^(−2|α) ⁰ ^(|) ² ), corresponding to the gate {circumflex over (R)} _(x) (π/2), leads to a fidelity of 99.7% for κ=0 and 98.6% for K/κ=250 with ε_(p)=K and δ_(x)=K/3. Similarly to the Z rotations, the fidelity of the X gate also decreases if the condition δ_(x)<<2ε_(p) is not met (see Supplementary Information below).

To complete the set of universal gates, an entangling gate between the field stored in two distinct resonators, or alternatively two modes of a single resonator, is needed.

From the discussion on the {circumflex over (R)} _(z) (θ) gate, it follows that a σ _(z1) σ _(z2) interaction between the two fields is obtained by linearly coupling the two-photon driven KNRs, the Hamiltonian now reading Ĥ_(zz)=Ĥ₀₁+Ĥ₀₂+εz_(z)(â₁ ^(†)â₂ ^(†)+â₁â₂ ^(†)). To simplify the discussion, the two resonators are assumed to be identical with Ĥ_(0i)=−Kâ_(i) ^(†2)â_(i) ²+ε_(p)(â_(i) ^(†2)+â_(i) ²). Expressed in the logical basis, the bilinear coupling Hamiltonian takes the desired form δ_(zz) σ _(z1) σ _(z2), with δ_(zz)=4ε_(zz)|α₀|². In order to demonstrate this gate we simulate the master equation under Ĥ_(zz) with the resonators initialized to the product state |

_(α) ₀ ⁺

⊕|

_(α) ₀ ⁺

and ε_(p)=4K, ε_(zz)=K/5. As expected, the initial product state is transformed to the maximally entangled state (|0, 0

+i|0, 1

+i|1, 0

+|1, 1

)/2 at t=π/2δ_(zz) with fidelity F=99.99% for κ=0 and F=94% for K/κ=250 Supplementary Information below examines the fidelity dependence on the strength of the two-photon drive.

As demonstrated above, in the presence of a two-photon drive, the eigenspace of a KNR can be engineered to be two out-of-phase coherent states that are robust against single-photon loss. This quantum state engineering offers a practical way to correct the undesirable effects of Kerr nonlinearity in applications such as the qcMAP gate. Protocols for fast-high fidelity initialization and manipulation cat states for quantum information processing are also presented. This approach can offer improvements based on dispersive qubit-resonator interactions or reservoir engineering. These results suggest a minimal approach to prepare and manipulate cat states of the field of a microwave resonator using for instance a Josephson parametric amplifier (JPA) and can be of immediate practical importance for realization of a scalable, hardware efficient platform for quantum computation. n-component cat states can be initialized based on the fact that n coherent states are the degenerate eigenstates of the Hamiltonian Ĥ=−Kα^(†n)â^(n)+ε_(p)(a^(†n)+a^(n)). Such a Hamiltonian could be implemented with a JPA, in which the cosine potential of a Josephson junction supplies the required nonlinearity and flux modulation through the SQUID loop at n-times the resonator frequency triggers the n-photon drive. Accordingly, in light of the above, JPA's will be understood to be powerful devices for implementing quantum algorithms based on multi-component cats.

Methods—Noise Resistance

Eigenstates of the n-Photon Driven Hamiltonian:

Consider the Hamiltonian

$\begin{matrix} {{\hat{H}}_{n} = {{{{- K}{\hat{a}}^{\dagger \; n}{\hat{a}}^{n}} + \left( {{ɛ_{p}{\hat{a}}^{\dagger \; n}} + {ɛ_{p}^{*}{\hat{a}}^{n}}} \right)} = {{{- {K\left( {{\hat{a}}^{\dagger \; n} - \frac{ɛ_{p}^{*}}{K}} \right)}}\left( {{\hat{a}}^{n} - \frac{ɛ_{p}}{K}} \right)} + {\frac{{ɛ_{p}}^{2}}{K}.}}}} & (6) \end{matrix}$

The second form makes it clear that the coherent state |α

with α^(n)−ε_(p)/K=0 is an eigenstate of Ĥ_(n). Thus, in general, there are n coherent states that are the degenerate eigenstates of Ĥ_(n) with energy |ε_(p)|²/K.

Effective Hamiltonian and Steady-State:

Under single-photon loss, the system's master equation takes the form

{circumflex over ({dot over (ρ)})}=−i(Ĥ _(eff) {circumflex over (ρ)}−{circumflex over (ρ)}Ĥ _(eff) ^(†))+κâ{circumflex over (ρ)}â ^(†),  (7)

where Ĥ_(eff)=Ĥ₀−iκâ^(†)â/2 and Ĥ₀=−Kâ^(†)â^(†)ââ+(ε_(p)â^(†2)+ε_(p)*â²). Under displacement transformation D(α₀)=exp(α₀â^(†)−α₀â), Ĥ_(eff) reads

$\begin{matrix} {{\hat{H}}_{eff}^{\prime} = {{{D^{\dagger}\left( \alpha_{0} \right)}{\hat{H}}_{eff}{D\left( \alpha_{0} \right)}} = {\quad{{\left\lbrack {{\left( {{{- 2}K\; \alpha_{0}^{2}\alpha_{0}^{*}} + {2ɛ_{p}\alpha_{0}^{*}} - {i\frac{\kappa}{2}\alpha_{0}}} \right){\hat{a}}^{\dagger}} + {h.c.}} \right\rbrack + \left\lbrack {{\left( {{{- K}\; \alpha_{0}^{2}} + ɛ_{p}} \right){\hat{a}}^{\dagger 2}} + {h.c.}} \right\rbrack - {4K{\alpha }^{2}{\hat{a}}^{\dagger}\hat{a}} - {i\frac{\kappa}{2}{\hat{a}}^{\dagger}\hat{a}} - {K{\hat{a}}^{\dagger 2}{\hat{a}}^{2}} - \left( {{2K\; \alpha_{0}{\hat{a}}^{\dagger 2}a} + {h.c.}} \right)},}}}} & (8) \end{matrix}$

where the constant term E=−K|α₀|⁴+ε_(p)*α₀ ²+ε_(p)α₀*²−iκ|α₀|²/2 that represents a shift in energy of the non-Hermitan effective Hamiltonian has been dropped. α₀ is taken to satisfy

$\begin{matrix} {{{{{- 2}K\; \alpha_{0}^{2}\alpha_{0}^{*}} + {2ɛ_{p}\alpha_{0}^{*}} - {i\frac{\kappa}{2}\alpha_{0}}} = 0},} & (9) \end{matrix}$

such as to cancel the first line of Ĥ_(eff)′ which now reads

$\begin{matrix} {{\hat{H}}_{eff}^{\prime} = {\left\lbrack {{\left( {{{- K}\; \alpha_{0}^{2}} + ɛ_{p}} \right){\hat{a}}^{\dagger 2}} + {h.c.}} \right\rbrack - {\left( {{4K{\alpha_{0}}^{2}} + {i\frac{\kappa}{2}}} \right){\hat{a}}^{\dagger}\hat{a}} - {K{\hat{a}}^{\dagger 2}{\hat{a}}^{2}} - {2K\; \alpha_{0}{\hat{a}}^{\dagger 2}a} - {2K\; \alpha_{0}^{*}{\hat{a}}^{\dagger}{{\hat{a}}^{2}.}}}} & (10) \end{matrix}$

Eq. (9) is satisfied for α₀=0, ±r₀e^(iθ) ⁰ where

$\begin{matrix} {{r_{0} = \left( \frac{{4ɛ_{p}^{2}} - {\kappa^{2}/4}}{4K^{2}} \right)^{1/4}},{\theta_{0} = {\frac{1}{2}{{\tan^{- 1}\left( \frac{\kappa}{\sqrt{{16ɛ_{p}^{2}} - \kappa^{2}}} \right)}.}}}} & (11) \end{matrix}$

The non-trivial solutions ±r₀e^(iθ) ⁰ exist when ε_(p)>κ/4. For α₀=0 and κ<4ε_(p) the first two terms of Eq.(10) represent a near resonant parametric drive of strength ε_(p). This results in large fluctuations making the system unstable around α₀=0. On the other hand, for α₀=±r₀e^(iθ) ⁰ , the displaced effective Hamiltonian can be rewritten as

$\begin{matrix} {{\hat{H}}_{eff}^{\prime} = {{\frac{1}{2}\left\lbrack {{i\; \frac{{\kappa\alpha}_{0}}{2\alpha_{0}^{*}}{\hat{a}}^{\dagger 2}} + {c.c.}} \right\rbrack} - {\left( {{4K{\alpha_{0}}^{2}} + {i\frac{\kappa}{2}}} \right){\hat{a}}^{\dagger}\hat{a}} - {K{\hat{a}}^{\dagger 2}{\hat{a}}^{2}} - {2K\; \alpha_{0}{\hat{a}}^{\dagger 2}a} - {2K\; \alpha_{0}^{*}{\hat{a}}^{\dagger}{{\hat{a}}^{2}.}}}} & (12) \end{matrix}$

The first two terms of Eq.(12) now represent a parametric drive whose amplitude has an absolute value of κ/2 and is detuned by 4K|α₀|²+iκ/2≈4K|α₀|². In other words, the effect of single-photon loss κ is to squeeze the field around α₀=±r₀e^(iθ) ⁰ leading to increased quantum fluctuations. For κ<<8K|α₀|², the resulting fluctuations are, however, small and |0

remains an eigenstate in the displaced frame. This implies that, back in the lab frame, |±α₀

are the degenerate eigenstates of Ĥ_(eff). As a result, {circumflex over (ρ)}_(s)=(|α₀

α₀|+|−α₀

−α₀|)/2 is a steady-state of Eq.(7). It is, moreover, the unique steady-state of this system since only the two eigenstates |±α₀

of the effective Hamiltonian are also invariant under the quantum jump operator â. Following the analysis here, it is also possible to characterize the effect of, for example, single-photon drive, detuning, etc (see Supplementary Information below).

Cat State Decoherence Under Single-Photon Loss:

In the previous section, we saw that the coherent states |±α₀

are eigenstates of the two-photon driven KNR even in the presence of single-photon loss. However, this loss channel results in decoherence of superpositions of these two states, i.e. of cat states. Indeed, the last term of the master equation Eq.(7), κa{circumflex over (ρ)}a^(†), transforms the even parity cat state |

_(α) ₀ ⁺ to the odd parity cat state |

_(α) ₀ ⁻

and vice-versa. This results in decoherence and reduction in the contrast of the Wigner function fringes. The rate of this phase decay is given by γ=κ|α₀−(−α₀)|²/2=2κ|α₀|².

Consider for example the cat state initialization protocol with ε_(p)=ε_(p) ⁰[1−exp(−t⁴/τ⁴)] and ε_(p) ⁰=4K so that α₀(t)=2√{square root over ([1−exp(−t⁴/τ⁴)])}. The phase error during this initialization can be estimated to be exp(−2∫κ|α₀(t)|²dt)=0.016, resulting in a fidelity of 98.4%. This estimate compares very well with the numerically estimated fidelity quoted earlier in the manuscript (98.3%).

Additional Hamiltonian for Faster than Adiabatic Initialization of Cat State:

Consider the exact Hamiltonian in Eq.(5) required for transitionless quantum driving. At short times t˜0, we have that α₀(t)˜0 and as a result |

₀ ⁺

˜|n=0

and |

₀ ⁻

˜|n=1

. Therefore, [â^(†)|

_(α) ₀ _((t)) ⁻

_(α) ₀ _((t)) ⁺|−|

_(α) ₀ _((t)) ⁺

_(α) ₀ _((t)) ⁻|â]˜[â^(†)|1

0|−|0

|â]˜â^(†2)−â². On the contrary, at long time the coherent states become quasi-orthogonal and a single photon jump leads to the transition between even and odd photon number cat states. This suggests that if α₀(t)>>1, it is possible to approximate [â^(†)|

_(α) ₀ _((t)) ⁻

_(α) ₀ _((t)) ⁺|−|

_(α) ₀ _((t)) ⁺

_(α) ₀ _((t)) ⁻|â]˜(â^(†2)−â²)/2α₀(t) in the restricted coherent state basis. Therefore, in order to reconcile both short and long time behaviour, we choose, [â^(†)|

_(α) ₀ _((t)) ⁻

_(α) ₀ _((t)) ⁺|−|

_(α) ₀ _((t)) ⁺

_(α) ₀ _((t)) ⁻|â]˜(â^(†2)−â²)/[1+2α₀(t)] to obtain Eq.(5).

Supplementary Information: Engineering the Quantum States of Light in a Kerr-Nonlinear Resonator by Two-Photon Driving

Stabilization of Coherent States in a Two-Photon Driven KNR

As presented above, {circumflex over (ρ)}_(s)=(|α₀

α₀|+|−α₀

−α₀|)/2 is the unique steady-state of a two-photon driven KNR. It is worth pointing out that, although this is the unique steady-state, the time for the system to reach {circumflex over (ρ)}_(s) can approach infinity as |α₀| increases because

−α₀|α₀

=exp(−2|α₀|²)˜0. As a result, a system initialized in the state a|α₀

+b|−α₀

will evolve to |a|²|α₀

α₀|+|b|²−α₀

−α₀| only after a long time t>>1/κ if α₀ is large.

As a corollary, we find that the two-photon driven KNR initialized to either of the coherent states |±α₀

, remains in that state even in the presence of single-photon loss, as long as α₀ satisfies Eq.(11) in the main text and κ<<8K|α₀|². This is illustrated in FIG. 5, which shows the Wigner function obtained by numerical integration of the master equation for the system initialized to the coherent state |α₀

without (FIG. 5(a-c)) and with (FIG. 5(d-f)) two-photon drive. We note that all simulations in this work were carried out with a standard master equation solver and with Hilbert space size large enough to ensure negligible truncation errors. For example, simulations with |α|=1, 2, 4 were carried out with a Hilbert space size of N=20, 40, 80 respectively.

Photon-Dephasing

To take into account dephasing at a rate κ_(ϕ), the master equation takes the form

{circumflex over ({dot over (ρ)})}=−i(Ĥ _(eff) {circumflex over (ρ)}−{circumflex over (ρ)}Ĥ _(eff) ^(†))+κ_(ϕ) â ^(†) â{circumflex over (ρ)}â ^(†) â,  (13)

with Ĥ_(eff)=Ĥ₀−iκ_(ϕ)â^(†)äâ^(†)â/2=Ĥ₀−iκ_(ϕ)â^(†2)â²/2−iκ_(ϕ)â^(†)â/2. This effective Hamiltonian is equivalent to the effective Hamiltonan when κ_(ϕ)=0 but with a Kerr nonlinearity K−iκ_(ϕ)/2 and single-photon loss κ_(ϕ). Following the derivation in the second section we find that the amplitude α₀ must now satisfy

$\begin{matrix} {{{\left( {{{- 2}K} - {i\; \kappa_{\varphi}}} \right)\alpha_{0}^{2}\alpha_{0}^{*}} + {2ɛ_{p}\alpha_{0}^{*}} - {i\; \frac{\kappa_{\varphi}}{2}\alpha_{0}}} = 0.} & (14) \end{matrix}$

For κ_(ϕ)<<4K|α₀|², the coherent states |±α₀

are again the degenerate eigenstates of the system. The action of the third term in the above master equation, â^(†)âρâ^(†)â, it to flip the state of the resonator from |α₀

to |−α₀

and vice-versa at a rate of κ_(ϕ)|α₀|²e^(−2|α) ⁰ ^(|) ² .

Two-Photon Loss

Two-photon loss, the process in which the system loses pairs of photons to the bath, can accompany non-linear interactions. However, ordinarily, the rate of two-photon dissipation is small. The master equation in the presence of such a loss (with rate κ_(2ph)) takes the form

{circumflex over ({dot over (ρ)})}=−i(Ĥ _(eff) {circumflex over (ρ)}−{circumflex over (ρ)}Ĥ _(eff) ^(†))+κ_(2ph) â ² {circumflex over (ρ)}â ^(†2),  (15)

where Ĥ_(eff)=Ĥ₀−iκ_(2ph)â^(†2)â²/2. This expression implies that two-photon loss effectively acts as a Kerr-nonlinearity of amplitude −iκ_(2ph)/2. As a result, the degenerate eigenstates of the effective Hamiltonian become |±α

with α=√{square root over (ε_(p)/(K+iκ_(2ph)/2))}. The two-photon jump operator, given by the second term in the above expression, does not cause a phase-flip or spin-flip since â²|±α

=α²|±α

and â²|

_(α) ^(±)=α²|

_(α) ^(±)

. As a result, two-photon loss is, by itself, not detrimental to cat state preparation. However, this deterministic phase rotation, in addition to non-deterministic single-photon loss can lead to additional dephasing. With typical parameter such as the one described in the main body of the paper and in section V of the supplement, κ_(2ph)<<K and dephasing is therefore negligible.

Eigenstates and Eigenvalues of the Two-Photon Driven KNR

The eigenstates and eigenenergies of the time-dependent KNR driven by a two-photon process can be evaluated as follows:

Ĥ ₀(t)=Kâ ^(†) â ^(†) ââ−[ε _(p)(t)â ^(†2)+ε_(p)(t)*â ²],  (16)

with ε_(p)(t)=ε_(p) ⁰[1−exp(−t⁴/τ⁴)] so that ε_(p)(t=0)=0, ε_(p)(t)˜ε_(p) ⁰=4K for t>>τ and τK=5. This particular time dependence was chosen to assure adiabaticity of the evolution. Other choices are possible and pulse shaping techniques could lead to fidelity increases. We also note that the sign of the Kerr nonlinearity as changed with respect to the demonstration presented above.

We take K>0 for which the ground states at t=0 are the Fock states |0

, |1

with energy E₀=E₁=0. Under adiabatic evolution, these degenerate ground states transform to the instantaneous eigenstates of the Hamiltonian, |

_(α) ₀ _((t)) ^(±)

for t>τ with energy E₀=E₁=−ε_(p)α₀(t)² and α₀=√{square root over (ε_(p)(t)/K)}. The eigenenergies of the ground, first and second instantaneous eigenstates are plotted in FIG. 6(a). The figure also shows the simulated Wigner functions corresponding to the instantaneous eigenstates at different times. Note that if K<0 the states |0

, |1

are excited states of the initial undriven Kerr Hamiltonian. However as the two-photon drive amplitude increases these states are slowly transformed to the eigenstates |

_(α) ₀ _((t)) ^(±)

, which are eigenstates but not necessarily the ground states of Ĥ₀(t). FIG. 6(b) illustrates the time dependence of the eigenenergies and eigenstates when K<0 and ε_(p) ⁰=4K.

The eigenenergy spectrum illustrates that for adiabatic initialization of cat states in time τ, Δ_(min)τ>>1. Here Δ_(min) is the minimum energy gap and, from FIG. 6, Δ_(min)=2K. It is possible to increase this gap and therefore speed-up the initialization by introducing a time-dependent detuning δ(t) between the two-photon drive and the bare resonator frequency. The initialization protocol is then carried out by increasing the two-photon drive strength and decreasing the detuning from δ(0)=δ₀ to δ(τ)=0. The detuning given by the Hamiltonian δ(t)â^(†)â conserves parity at all times (that is, it does not mix the even and odd parity cat states) and increases the minimum energy gap during the adiabatic evolution, leading to a faster initialization. Consider for example a resonator subjected to the time-dependent Hamiltonian, Ĥ(t)=−Kâ^(†)â^(†)ââ+(t/τ)ε_(p) ⁰[â^(†2)+â²]−δ₀(1−t/τ)â^(†)â, with ε_(p) ⁰=4K, δ₀=1.7K and τ=2K. The minimum energy gap during this evolution is Δ_(min)=4.3K. At t=0, the Fock states are the eigenstates, whereas at t=τ the eigenstates are the cat states |

_(α) ₀ _((t)) ^(±)

. We find that such a resonator initialized to vacuum evolves to the cat state |

_(α) ₀ _((t)) ⁺

at t=τ with a fidelity of 99.9% for κ=0, and 99.3% for κ=K/250. If, on the other hand, δ₀=0 and the initialization is carried out in a time τ=2/K, then the cat state fidelity is reduced to 85.6% when κ=0 and 84.9% when κ=K/250 because of non-adiabatic errors. As already mentioned, further speed-ups could be obtained by pulse shaping techniques.

Pulse Optimization with GRAPE

An implementation of the Gradient Ascent Pulse Engineering (GRAPE) algorithm was used to design the pulse for fast cat state initialization using the non-adiabatic protocol described in the main text. Following the result of the main text, fast initialization is achieved by evolution under the time dependent Hamiltonian Ĥ(t)=Ĥ₀(t)+Ĥ′(t), with

Ĥ ₀(t)=−Kâ ^(\2) â ²+ε_(p,x)(t)(â ^(†2) +â ²), Ĥ′(t)=iε _(p,y)(t)(â ^(†2) −â ²).  (17)

Our GRAPE implementation allows the restriction of the two-photon drive ε_(p,y) to zero at the beginning t=0 and end t=T of the protocol. The two-photon drive ε_(p,x) is restricted to 4K at t=T to realize a stabilized cat

₂ ⁺ at the end of the protocol. Furthermore, in order to allow only realistic drive amplitudes during the evolution, the pulse amplitude is restricted such that |ε_(p,y)|, |ε_(p,x)|<6K. The resulting pulse, optimized to yield the cat state

₂ ⁺ at t=T=0.3/K is shown in FIG. 7. The fidelity of the resulting cat state is 99.95% and the time step is chosen so that the time-scale for the modulation of the drive amplitude is realistic (≥1 ns).

Implementation of the Encoding Scheme in cQED with a Josephson Parametric Amplifier

Numerical simulations of the cat state preparation protocol with a Josephson parametric amplifier (JPA) are now presented. The Hamiltonian of a lumped element JPA is given by

$\begin{matrix} {{{\hat{H}(t)} = {\frac{{\hat{q}}^{2}}{2C} - {2E_{J}{\cos\left( \frac{\Phi (t)}{\varphi_{0}} \right)}{\cos\left( \frac{\hat{\varphi}}{\varphi_{0}} \right)}}}},{where}} & (18) \\ {{\hat{q} = {i\sqrt{\frac{\hslash \; C\; \omega_{r}}{2}}\left( {{\hat{a}}^{\dagger} - \hat{a}} \right)}},{\hat{\varphi} = {\sqrt{\frac{\hslash}{2C\; \omega_{r}}}\left( {{\hat{a}}^{\dagger} + \hat{a}} \right)}}} & (19) \end{matrix}$

and ϕ₀=ℏ/2e is the flux quanta while Φ(t)=Φ+δΦ(t) is the classical flux through the SQUID loop. In our simulations, this flux is modulated around Φ=0.2ϕ₀ at twice the resonator frequency ω_(r), δΦ(t)=δΦ₀(t)cos(2ω_(r)t). In this expression, Φ₀(t) represents the slowly varying envelope of the modulation. As already discussed, for cat state initialization, Φ₀(t) is chosen to adiabatically change from zero to a maximum amplitude.

Fourth-Order Expansion to Map to Cassinian Oscillator Hamiltonian

As usual, to map the above Hamiltonian to the Cassinian oscillator with time dependent two-photon drive, we expand the cosine term to the fourth order and make the rotating wave approximation. The resulting Hamiltonian is

{tilde over (Ĥ)}=ℏω_(r) â ^(†) â−Kâ ^(†2) â ²+ε_(p)(â ^(†2) e ^(−2iω) ^(r) ^(t) +â ² e ^(2iω) ^(r) ^(t)),  (20)

where we have defined

$\begin{matrix} {{\omega_{r} = {\omega_{0}\sqrt{{\cos\left( \frac{\Phi}{\varphi_{0}} \right)}{\cos\left( \frac{{\delta\Phi}_{0}(t)}{\varphi_{0}} \right)}}}},{\omega_{0} = {4\sqrt{\frac{E_{J}E_{C}}{\hslash^{2}}}}}} & (21) \\ {{K = \frac{E_{C}}{2}},} & (22) \\ {{ɛ_{p} = {\frac{\sqrt{E_{J}E_{C}}}{2}\frac{{\sin\left( \frac{\Phi}{\varphi_{0}} \right)}{\sin\left( \frac{{\delta\Phi}_{0}(t)}{\varphi_{0}} \right)}}{\sqrt{{\cos\left( \frac{\Phi}{\varphi_{0}} \right)}{\cos\left( \frac{{\delta\Phi}_{0}(t)}{\varphi_{0}} \right)}}}}},} & (23) \end{matrix}$

with E_(C)=e²/

the charging energy. The strength of the two photon drive is governed by the amplitude of δΦ₀. In practice, it cannot be made too large to avoid large change in the resonator frequency. As discussed in the main text, in order to encode an even parity cat state the resonator is initialized to vacuum state at t=0, followed by an adiabatic increase in the two-photon drive amplitude. This is achieved by slowly increasing the amplitude of the flux modulation which, for simplicity, is here chose as δΦ₀(t)=δΦ₀×t/τ.

Simulation of the Full Cosine Potential

In order to account for higher-order effect or the rotating terms, we simulated the full Hamiltonian Eq.(18) from t=0 to t=τ with δΦ₀=0.04ϕ₀. The Wigner function of the resulting density matrix at t=τ is shown in FIG. 8. From Eq.(22) and (23), the size of the cat state is related to β=√{square root over (ε_(p)/K)}∝(E_(J)/E_(C))^(1/4). As a result, initialization of large cat states requires large E_(J)/E_(C). However, as this ratio is increased, higher-order terms become more important and can lead to reduction of the cat-state fidelity. Another consequence, as can be seen from Eq.(21), is that the frequency of the resonator ∝√{square root over (E_(J)E_(C))} must be at least a few GHz to avoid thermal excitations from the bath. Keeping this in mind, we have used in our simulation the experimentally realistic parameters: E_(C)/2π=1.5 MHz, E_(J)/2=π=600 GHz so that the estimated frequency ω_(r)/2π=3.75 GHz, nonlinearity K/2π=750 KHz and two-photon drive strength ε_(p)/2π=3.7 MHz. From simulations of the full Hamiltonian, we find that the cat state $\catp$ with |α|²=4.8 is realized in time t=τ=26.67 μs with a fidelity of 99.4%. In other words, for these realistic parameters, the effect of higher-order terms appears to be minimal. Here and in the main paper, we have estimated fidelities using F=Tr[√{square root over (ρ_(target))}ρ√{square root over (ρ_(target))}]. We note that the rotation observed in FIG. 8 is due to the fact that this simulation was realized in the laboratory frame.

Effect of Single Photon Drive

A two-photon driven KNR with an additional single-photon drive is now considered. To simplify the analysis, we take κ=0. The Hamiltonian is given by

Ĥ _(z) =−Kâ ^(†) â ^(†) ââ+ε _(p)(â ^(†2) +â ²)+ε_(z) â+ε _(z) *â,  (24)

where the phase of the single photon drive is defined with respect to the two-photon drive. Under a displacement transformation D(α₀) the Hamiltonian reads

Ĥ _(z)=[(−2Kα ₀ ²α₀*+2ε_(p)α₀*+ε_(z))â ^(†) +h.c.]+[(−Kα ₀ ²+ε_(p))â ^(†2) +h.c.]−4K|α| ² â ^(†) â−Kâ ^(†2) â ²−(2Kα ₀ â ^(†2) a+h.c.),   (25)

where the constant term E=−K|α₀|⁴+ε_(p)(α₀ ²+α₀*²)+ε_(z)*α₀+ε_(z)α₀ representing a shift in energy was dropped. For the coefficient of the â, â^(†) at terms to vanish,

−2Kα ₀ ²α₀*+2ε_(p)α₀*+ε_(z)=0,  (26)

is taken such that

$\begin{matrix} {{\hat{H}}_{z}^{\prime} = {\left\lbrack {{\frac{- ɛ_{z}}{2\alpha_{0}^{*}}{\hat{a}}^{\dagger 2}} + {h.c.}} \right\rbrack - {4K{\alpha_{0}}^{2}{\hat{a}}^{\dagger}\hat{a}} - {K{\hat{a}}^{\dagger 2}{\hat{a}}^{2}} - {2K\; \alpha_{0}{\hat{a}}^{\dagger 2}a} - {\left( {{2K\; \alpha_{0}^{*}{\hat{a}}^{\dagger}{\hat{a}}^{2}} + {h.c.}} \right).}}} & (27) \end{matrix}$

Following the derivation in the manuscript (Methods), |0

is an eigenstate of Ĥ_(z)′ except for the first term which represents an off-resonant parametric drive of strength |ε_(z)/2α₀*|, detuned by 4K|α₀|². For |ε_(z)/α₀*|<<4K|α₀|², fluctuations around α₀ are small and |0

remains an eigenstate in the displaced frame. Again following the Methods section in the Manuscript, there are three solutions of Eq.(26) which, for small ε_(z), are of the form −α₀+ϵ, ϵ and α₀+ϵ where α₀=√{square root over (ε_(p)/K)} and ϵ˜ε_(z)/4ε_(p).

Only two of these (α₀+ϵ and −α₀+ϵ) satisfy the condition |ε_(z)/α₀|<<4K|α₀|². The large quantum fluctuations around the third solution makes it unstable. As a result, in the laboratory frame, the eigenstates of the system are |α₀+ϵ

and |−α₀+ϵ

, where ϵ is a small correction (ϵ→0 for ε_(z)<<4ε_(p)). In other words, the single-photon drive only slightly displaces the coherent components of the cat. From the above expression of the energy E, it is however clear that the degeneracy between the eigenstates |α₀+ϵ

and |−α₀+ϵ

is lifted by an amount δ_(z)=4Re[ε_(z)α₀].

In the eigenspace spanned by |±α₀

, the single-photon drive can be written as δ_(z) σ _(z)/2+2Im[ε_(z)α₀*]e^(−2|α) ⁰ ^(|) ² σ _(x). If ε_(z) and ε_(p) are real so that α₀ is real, then Im[ε_(z)α₀*]=0 and hence the only effect of the single-photon drive is to lift the degeneracy between |±α₀

or the logical |0

and |1

.

Effect of Detuning

In this section we analyze the effect of detuning the two-photon drive from the resonator. The Hamiltonian is given by

Ĥ _(z) =δâ ^(†) â−Kâ ^(†) â ^(†) ââ+ε _(p)(â ^(†2) +â ²).  (28)

Under a displacement transformation D(α₀) the new Hamiltonian reads

Ĥ _(z)′=(−2Kα ₀ ²α₀*+2ε_(p)α₀*+δα_(z))â ^(†) +c.c.+(−Kα ₀ ²+ε_(p))â ^(†2) +c.c.−4K|α ₀|² â ^(†) â+δâ ^(†) â−Kâ ^(†2) â ²−(2Kα ₀ â ^(†2) a+c.c.),   (29)

where the constant term E=−K|α₀|⁴+ε_(p)(α₀ ²+α₀*²)+δ|α₀|² representing a shift in energy is dropped. For the coefficient of the â, â^(†) at terms to vanish,

−2Kα ₀ ²α₀*+2ε_(p)α₀*+δα₀=0,  (30)

so that,

$\begin{matrix} {{\hat{H}}_{z}^{\prime} = {{\frac{{\delta\alpha}_{0}}{2\alpha_{0}^{*}}{\hat{a}}^{\dagger 2}} + {{c.c.{- 4}}K{\alpha_{0}}^{2}{\hat{a}}^{\dagger}\hat{a}} + {\delta \; {\hat{a}}^{\dagger}\hat{a}} - {K{\hat{a}}^{\dagger 2}{\hat{a}}^{2}} - {2K\; \alpha_{0}{\hat{a}}^{\dagger 2}a} - {\left( {{2K\; \alpha_{0}^{*}{\hat{a}}^{\dagger}{\hat{a}}^{2}} + {c.c.}} \right).}}} & (31) \end{matrix}$

Again, we follow the derivation outlined in the previous section to find that, if |δ|<<2ε_(p), then the eigenstates of the system are |±α₀

where α₀=√{square root over ((2ε_(p)+δ)/2K)}. Because of the non-orthogonality of these states, the term â^(†)â has non-zero matrix elements

α₀|â^(†)â|−α₀

=−|α₀|²e^(−2|α) ⁰ ^(|) ² .

Evolution During the Gate Operations

Details on the performance of the single qubit {circumflex over (R)} _(z) (θ), R _(x) (θ) and two-qubit gate are now presented. FIG. 9a ) shows the probability for the system to be in the state |

α₀ ⁻

under evolution of the system with H₀+Ĥ_(z) and single-photon loss for the system initially in |

_(α) ₀ ⁼

. As expected, the probability shows a period of π/4ε_(z)α₀. In the same way, FIG. 9b ) shows the probability for the system to be in the |−α₀

state under evolution of the system with H₀+Ĥ_(x) and single-photon loss for the system initially in |α₀

. Again as expected, the probability shows a period of πe^(2|α) ⁰ ^(|) ² /4δ_(x)|α₀|².

As we saw in sections VI and VI, the mapping of the eigenstates to the coherent states |±α₀

is valid only when ε_(z)<<4K|α₀|³ and δ<<2εp. As a result, the gate performance depends on ε_(z)/4K|α₀|³ and δ/ε_(p). To demonstrate this, FIG. 9c ) shows the probability of the system, initialized to |

_(α) ₀ ⁺

at t=0, to be in the state |

_(α) ₀ ⁻

after a time T=π/4ε_(z)α₀. The strength of the two-photon drive is fixed to ε_(p)=4K and to take into account the errors induced only due to large ε_(z) we use κ=0. Similarly, FIG. 9d ) shows the probability of the system, initialized to |α₀

at t=0, to be in the state |−α₀

after a time T=π/4δ|α₀|² exp(−2|α₀|²), with ε_(p)=K and κ=0. As the figures indicate, with increasing ε_(z) and δ the probability of achieving a perfect Z and X rotation decreases respectively. The small oscillations in the probability show that the eigenstates of the Hamiltonian are no longer coherent states. Finally, for the entangling gate the system initialized to the product state |

_(α) ₀ ⁺

⊗|

_(α) ₀ ⁺

. FIG. 9(c) shows the time evolution of the probability for the system to be in the entangled state |ψ_(e)

=|α₀,α₀

+i|α₀, −α₀

+i|−α₀, α₀

+|−α₀, −α₀

and the expected periodicity, π/8|εz_(z)α₀ ²|, is observed.

Fidelity of a Cat State in KNR with and without Two-Photon Drive

As presented above, the fidelity of a cat state decreases faster in a KNR compared to a linear one. This is illustrated in FIG. 10 which compares the time-decay of the fidelity of a cat state |

₂ ⁺

initialized in a linear resonator (dashed line) and KNR (triple-dashed line) with single-photon loss. In order to account only for non-deterministic errors, the fidelity in the lossy KNR is defined with respect to that of a lossless KNR. The cat state can be stabilized against Kerr-induced rotation and dephasing by the application of a two-photon drive chosen such that its amplitude ε_(p) satisfies Eq.(3) in the main text. This is confirmed by the time dependence of fidelity in FIG. 10 (solid line). As explained above, in a two-photon driven Kerr-resonator, a single-photon loss will only cause random jumps between the cat state |

_(α) ^(±)

i.e., there is no energy relaxation, resulting in higher state fidelity than a linear cavity.

qcMAP Gate with Two-Photon Driving

qcMAP gate protocol can be used to generate FIG. 4. The qubit is initialized to (|e

+|g

)/√{square root over (2)} and the resonator to the coherent state |iα₀

(for simplicity we assume that α₀ is a real number). The qubit and the resonator interact for a time T_(gate) according to the ideal dispersive interaction Ĥ_(disp.)=g²/Δâ^(†)âσ_(z), the full Jaynes-Cummings interaction, Ĥ_(j.c)=Δ{circumflex over (σ)}_(z)+g(â^(†){circumflex over (σ)}⁻+â{circumflex over (σ)}₊) or the full JC interaction with two photon drive Ĥ_(c)=Ĥ_(j.c)−(ε_(p)â^(†2)+ε_(p)*â²). During this first step, the qubit and resonator ideally evolve to the entangled state (|α₀,g

+|−α₀,e

) ignoring normalization. Next, an ideal displacement operation D(α₀) transforms the state to (|2α₀, g

+|0, e

). This is followed by an ideal qubit rotation conditioned on the number of photons in the resonator which is applied to disentangle the qubit from the resonator. This leaves the system in (|2α₀

+|0

)⊗|g

. Finally, an ideal displacement of the resonator by −α₀ results in the cat state |α₀

+|−α₀

. The Wigner function of this final state is shown in FIG. 4. In the simulations, we used the parameters: g/2π=111.4 MHz, Δ/2π=1.59 GHz, κ/2π=7 KHz, ε_(p)=ε_(p) ⁰e^(iϕ), ε_(p) ^(o)/2π=557 KHz and ϕ=π/2.

In order get an understanding for the phase and amplitude of the required two-photon drive, we examine Ĥ_(c) by expanding the Jaynes-Cummings interaction to the fourth order

$\begin{matrix} {{{\overset{\hat{\sim}}{H}}_{c} = {{\Delta {\hat{\sigma}}_{z}} + {\frac{g^{2}}{\Delta}{\hat{a}}^{\dagger}\hat{a}\; {\hat{\sigma}}_{z}} - {\frac{g^{4}}{\Delta^{3}}\left( {{\hat{a}}^{\dagger}\hat{a}} \right)^{2}{\hat{\sigma}}_{z}} - {{\left. \left( {{ɛ_{p}^{*}{\hat{a}}^{2}} + {ɛ_{p}{\hat{a}}^{\dagger 2}}} \right) \right.\sim\Delta}{\hat{\sigma}}_{z}} + {\frac{g^{2}}{\Delta}{\hat{a}}^{\dagger}\hat{a}\; {\hat{\sigma}}_{z}} - {\frac{g^{4}}{\Delta^{3}}{\hat{a}}^{\dagger 2}{\hat{a}}^{2}{\hat{\sigma}}_{z}} - \left( {{ɛ_{p}^{*}{\hat{a}}^{2}} + {ɛ_{p}{\hat{a}}^{\dagger 2}}} \right)}},} & (32) \end{matrix}$

where we have assumed g²/Δ−g⁴/Δ³˜g²/Δ. To simplify the discussion, we now replace {circumflex over (σ)}_(z) by its average value in the above expressions. In other words, we consider an infinite T₁ qubit. Going to a rotating frame, the above Hamiltonian then takes the form

$\begin{matrix} {{\overset{\hat{\sim}}{H}}_{c} = {{{- \frac{g^{4}}{\Delta^{3}}}{\hat{a}}^{\dagger 2}{\hat{a}}^{2}{\langle{\hat{\sigma}}_{z}\rangle}} - {\left( {{ɛ_{p}^{*}{\hat{a}}^{2}e^{{i({g^{2}/\Delta})}{\langle{\hat{\sigma}}_{z}\rangle}t}} + {ɛ_{p}{\hat{a}}^{\dagger 2}e^{{- {i({g^{2}/\Delta})}}{\langle{\hat{\sigma}}_{z}\rangle}t}}} \right).}}} & (33) \end{matrix}$

We are interested in time T_(gate) such that the coherent states have rotated by ±π/2 depending on the state of the qubit, i.e., (g²/Δ)T_(gate)=π/2. At this particular time, the above Hamiltonian reads

{tilde over (Ĥ)}_(c) =−Kâ ^(†2) â ²

{circumflex over (σ)}_(z)

−(ε_(p) *â ² e ^(iπ)

^({circumflex over (σ)}) ^(z)

^(/2)+ε_(p) â ^(†2) e ^(−iπ)

^({circumflex over (σ)}) ^(z)

^(/2))  (34)

where K=g⁴/Δ³ and

{circumflex over (σ)}_(z)

_(z)=±1. By comparing the above Hamiltonian with that of Eq.(1) of the main paper, we find that a two photon drive of amplitude ε_(p)=−Kα₀ ² will ensure that the coherent states |±α₀

or (|α₀, g

+|−α₀, e

with the qubits) are the eigenstates of the Hamiltonian. In practice, the amplitude of |ε_(p)| in the numerical simulations is slightly smaller than that predicted here because of the higher-order contributions of the Jaynes-Cummings Hamiltonian.

Demonstration RE Scalability for Quantum Annealing

Adiabatic Protocol for Quantum Annealing:

Quantum annealing can be executed with the time-dependent Hamiltonian

$\begin{matrix} {{{\hat{H}(t)} = {{\left( {1 - \frac{t}{\tau}} \right){\hat{H}}_{i}} + {\left( \frac{t}{\tau} \right){\hat{H}}_{p}}}},} & (35) \end{matrix}$

where Ĥ_(i) is the initial trivial Hamiltonian whose ground state is known, and Ĥ_(p) is the final Hamiltonian at t=τ which encodes an Ising spin problem:

Ĥ _(p)=Σ_(i>j) ^(N) J _(i,j){circumflex over (σ)}_(z,i){circumflex over (σ)}_(z,j)

Here, {circumflex over (σ)}_(z,i)=|1

1|−|0

0| is the Pauli-z matrix for the i^(th) spin and J_(i,j) is the interaction strength between the i^(th) and j^(th) spin. Crucially, the initial and final Hamiltonian do not commute. For simplicity, we have assumed a linear time dependence, but more complex annealing schedules can be used. The system, initialized to the ground state of Ĥ_(i), adiabatically evolves to the ground state of the problem Hamiltonian, Ĥ_(p) at time t=τ>>1/Δ_(min), where Δ_(min) is the minimum energy gap.

Single Spin in a Two-Photon Driven Kerr-Nonlinear Resonator

The Hamiltonian of a two-photon driven KNR in a frame rotating at the drive frequency is given by Ĥ₀=−Kâ^(†2)â²+ε_(p)(â^(†2)+â²), where K is the Kerr-nonlinearity and ε_(p) the strength of the two-photon drive. In a KNR, the coherent states |±α₀

, which are eigenstates of the photon annihilation operator, are stabilized by the two-photon drive with α₀=≈ε_(p)/K¹⁵. This statement can be visualized more intuitively by considering the metapotential obtained by replacing the operators â and â^(†) with the complex classical variables z+iy and x−iy in the expression for Ĥ₀. As shown in FIG. 11a , this metapotential is an inverted double well with two peaks of equal height at (±α₀, 0), corresponding to two stable points (see Supplementary Notes). This is consistent with the quantum picture according to which the coherent states |±α₀

are two degenerate eigenstates of Ĥ₀ with eigenenergy ε_(p) ²/K (see Methods below). Taking advantage of this well-defined two-state subspace, we choose to encode an Ising spin {|0

, |1

} in the stable states {|−α₀

, |α₀

}. Importantly, this mapping is robust against single-photon loss from the resonator when the rate of single-photon loss is small κ<<8ε_(p), a condition than can readily be realized in superconducting circuits. Moreover, the photon jump operator â leaves the coherent states invariant â|0/1

=±α₀|0/1). As a result, if the amplitude α₀ is large such that

0/1|â|1/0

=∓α₀e^(−2|α) ⁰ ^(|) ² ˜0, a single photon loss does not lead to a spin-flip error.

Having defined the spin subspace, we now discuss the realization of a problem Hamiltonian in this system. As an illustrative example, we first address the trivial problem of finding the ground state of a single spin in a magnetic field. Consider the Hamiltonian of a two-photon driven KNR with an additional weak single-photon drive of amplitude ε₀, Ĥ_(p)=−Kâ^(†2)â²+ε_(p)(â^(†2)+â²)+ε₀(â^(†)+â). As illustrated in FIG. 11b for small ε₀, under this drive, the two peaks located at (±α₀, 0) in the metapotential associated to Ĥ_(p) are now of unequal height with the peak at (−α₀, 0) lower than the one at (α₀, 0) if ε₀>0, and vice versa for ε₀<0. These two states remain stable, but have different energies, indicating that the single-photon drive induces an effective magnetic field on the Ising spins {|{circumflex over (0)}

, |1

}. Indeed, a full quantum analysis shows that if |ε₀|<<4K|α₀|³, then |±α₀

remain the eigenstates of Ĥ_(p) but their degeneracy is lifted by 4ε₀α₀. In other words, in the spin subspace, Ĥ_(p) can be expressed as Ĥ_(p)=2ε₀α₀ {circumflex over (σ)} _(z)+const., with {circumflex over (σ)} _(z)=|1

1|−|0

0|. This is the required problem Hamiltonian for a single spin in a magnetic field. This simple observation will play an essential role in the implementation of the LHZ scheme discussed below. Note that for larger ε₀, the eigenstates can deviate from coherent states (see Supplementary Notes below). Choosing |ε₀|<<4K|α₀|³, however, ensures that {|0

, |1

} are indeed coherent states to an excellent approximation, such that

0/1|â|1/0

˜0 and the encoded subspace remains well protected from the photon loss channel.

Following Eq. (35), we require an initial Hamiltonian which does not commute with the final problem Hamiltonian and which has a simple non-degenerate ground state. This is achieved by introducing a finite detuning δ₀>0 between the drives and resonator frequency. In a frame rotating at the frequency of the drives, the initial Hamiltonian is chosen as Ĥ_(i)=δ₀â^(†)â−Kâ^(†2)â² with δ₀<K. This choice of initial Hamiltonian generates large phase fluctuations that helps maximize quantum tunneling to states with well-defined phase at the final stages of the adiabatic evolution. In this frame, the ground and first excited states are the vacuum |0

and single-photon Fock state |n=1

, respectively, and which are separated by an energy gap δ₀. If a photon is lost from the resonator, the excited state |n=1

decays to the ground state |0

which, on the other hand, is invariant under photon loss. Since it is simple to prepare in the superconducting circuit implementation that we consider below, the vacuum state is a natural choice for the initial state.

The time-dependent Hamiltonian required for the adiabatic computation can be realized by slowly varying the two- and single-photon drive strengths and detuning so that Ĥ₁(t)=(1−t/τ)Ĥ_(i)+(t/τ)Ĥ_(p), realizing Eq.(35) for a single-spin. Note that the form of Ĥ₁(t) conveniently ensures that the nonlinear Kerr term is time-independent. The time-dependent detuning is achieved by tuning the single- and two-photon drive frequencies (see Methods below). By adiabatically controlling the frequency and amplitude of the drives it is possible to evolve the state of the KNR from the vacuum |0

at t=0, to the ground state of a single Ising spin in a magnetic field at t=τ. FIG. 12a shows the change of the energy landscape throughout this evolution found by numerically diagonalizing the instantaneous Hamiltonian Ĥ₁(t) for ε_(p)=4K, α₀=2, ε₀=0.2K and δ₀=0.2K. The minimum energy gap Δ_(min) is indicated. As illustrated by the Wigner functions in the FIG. 12b , a resonator initialized to the vacuum state at t=0 evolves through highly non-classical and non-Gaussian states towards the ground state |0

at t=τ, with τ˜30/Δ_(min) in this example. If, on the other hand, the KNR is initialized to the single-photon Fock state at t=0, then it evolves to the first excited state |1

at t=τ. The average probability to reach the correct ground state is 99.9% for both ε₀>0 and ε₀<0. The 0.1% probability of erroneously ending in the excited state arises from non-adiabatic errors and can be reduced by increasing the evolution time. For example, for τ=60/Δ_(min) we find a success probability of 99.99%.

Effect of Single-Photon Loss:

An appealing feature of this implementation is that, at the start of the adiabatic protocol, the ground (vacuum) state is invariant under single-photon loss. Similarly, at the end of the adiabatic protocol at t=τ, irrespective of the problem Hamiltonian (i.e., ε₀>0 or ε₀<0) the ground state (coherent states |0 or |1

) is also invariant under single-photon loss. It follows that towards the beginning and end of the protocol, photon loss will not induce errors. Moreover, even at intermediate times 0<t<τ, the ground state of Ĥ₁(t) remains largely unaffected by photon loss. This can be understood intuitively from the distortion of the metapotential, as shown in FIG. 12c at t=0.2τ for the same parameters as FIG. 12a . While the metapotential still shows two peaks, the region around the lower peak (corresponding to the ground state) is a circle whereas that around the higher peak (corresponding to the excited state) is deformed. This suggests that the ground state is closer to a coherent state and, therefore, more robust to photon loss than the excited state (see also Supplementary Notes below). Quantitatively, the effect of single-photon loss is seen by numerically evaluating the transition matrix elements

ψ_(g)(t)|â|ψ_(e)(t)

,

ψ_(e)(t)|â|ψ_(g)(t)

for the duration of the protocol, where |ψ_(g)(t)

and |ψ_(e)(t)

are the ground and excited state of Ĥ₁(t) respectively. As shown in FIG. 12d , the transition from the ground to excited state is greatly suppressed throughout the whole adiabatic evolution. This asymmetry in the transition rates distinguishes AQC with two-photon driven KNRs from implementations with qubits, something that will be made even clearer below with examples.

Two Coupled Spins with Driven KNRs:

Before going to larger lattices, consider the problem of two interacting spins embedded in a system of two linearly coupled KNRs, each driven by a two-photon drive and given by the Hamiltonian Ĥ_(p)=Σ_(k=1) ²[−Kâ^(†2)â_(k) ²+ε_(p)(â_(k) ^(†2)+â_(k) ²)]+J_(1,2)(â₁ ^(†)â₂+â₂ ^(†)â₁). Here, J_(1,2) is the amplitude of the single-photon exchange coupling and, for simplicity, the two resonators are assumed to have identical parameters. For small J_(1,2), this Hamiltonian can be expressed in the {|0

, |1

} basis as the problem Hamiltonian¹⁵

Ĥ=4J_(1,2)|α₀|² {circumflex over (σ)} _(z,1) {circumflex over (σ)} _(z,2)+const. The nature of the interaction is encoded in the phase of the coupling with J_(1,2)<0 (J_(1,2)>0) corresponding to the ferromagnetic (anti-ferromagnetic) case. For the initial Hamiltonian, we take Ĥ_(i)=Σ_(k)(δ₀â_(k) ^(†)â_(k)−Kâ_(k) ^(†2)â_(k) ²)+J_(1,2)(â₁ ^(†)â₂+â₂ ^(†)â₁) and, following Eq.(35), the full time-dependent Hamiltonian for the two-spin problem is Ĥ₂(t)=(1−t/τ)Ĥ_(i)+(t/τ)Ĥ_(p).

Although it is possible to tune these parameters in time, with the above form of Ĥ₂(t), both the linear coupling and the Kerr nonlinearity are fixed throughout the adiabatic evolution.

The ground state of Ĥ₂(0) is the vacuum state if the initial detuning is greater than the single-photon exchange rate, δ₀>J_(1,2). On the other hand, at t=τ, the two degenerate ground states for anti-ferromagnetic (ferromagnetic) coupling are {|0, 1

, |1, 0

} ({|0, 0

, |1, 1

}). Accordingly, numerical simulations with both resonators initialized to vacuum show the coupled system to reach the entangled state

(|0, 1

+|1, 0

) and

(|0, 0

+1, 1

), under anti-ferromagnetic and ferromagnetic coupling, respectively. In these expressions,

=1/√{square root over (2(1+e^(−4|α) ⁰ ^(|) ² ))} is a normalization constant. With the realistic parameters τ=50/Δ_(min), δ₀=K/4, J_(1,2)=K/10 and ε_(p) ⁰=2K, corresponding to α₀=√{square root over (2)}, the state fidelity is 99.9%. Moreover, the probability that the system is in any one of the states |0/1, 0/1

is 99.99%, showing that the evolution is to a very good approximation restricted to this computational subspace.

While the states used in this encoding are tolerant to photon loss, coherence between a superposition of those states is reduced. However the success probability (see Methods) in solving the Ising problem remains high as it depends only on the diagonal elements of the density matrix (e.g.,

1, 1|{circumflex over (ρ)}(τ)|0, 1

). As an illustration, with the large loss rate κ=50/τ, while the fidelity of the final state to the desired superposition

(|0, 0

+|1, 1

) or

(|0, 1

+|1, 0

) decreases to 37.6%, the average success probability of the algorithm is 75.2%.

To characterize the effect of noise, a useful figure of merit is the ratio Δ_(min)/κ of the minimum energy gap to the loss rate. The dependence of the average success probability on this ratio is presented in FIG. 13 for the algorithm implemented using KNRs (circles) with single-photon loss κ or qubits (squares) with pure dephasing γϕ. In practice, the average success probability is computed by varying the loss rates at fixed Δ_(min) and τ=20/Δ_(min), and is averaged over all instances of the problem of two coupled spins (i.e., ferromagnetic and anti-ferromagnetic). In the presence of pure dephasing, the success probability with qubits saturates to 50% for large γϕ. This is a consequence of the fact that the steady state of the qubits is an equal weight classical mixture of all possible computational states. On the other hand, for KNRs with a finite κ, the rate at which the instantaneous ground state jumps to the excited state (∝

ψ_(e)(t)|â|ψ_(g)(t)

) is small compared to the rate at which the instantaneous excited state jumps to the ground state (∝

ψ_(g)(t)|âψ_(e)(t)

). As a result, even with large single-photon loss rate, for example Δ_(min)/κ˜1, the success probability is ˜75%. Consequently, in the presence of equivalent strength noise, a two-photon driven KNR implementation of AQC has superior performance compared to a qubit implementation (see Methods below for details).

All-to-all Connected Ising Problem with the LHZ Scheme:

The above scheme can be scaled up with pairwise linear couplings in a network of KNRs, while still requiring only single-site drives. However, unlike the above one- and two-spin examples, most optimization problems of interest require controllable long-range interactions between a large number of Ising spins.

Realizing such highly non-local Hamiltonian is a challenging hardware problem, but it may be addressed by embeddings such as the LHZ scheme that map the Ising problem on a graph with local interactions only. In this approach, the relative configuration of pairs of N logical spins is mapped to M=N(N−1)/2 physical spins. A pair of logical spins, in which both spins are aligned |0, 0

or |1, 1

(or anti-aligned |0, 1

or |1, 0

), is mapped on the two levels of the physical spin. The coupling between the logical pairs J_(i,j) (i=1, . . . N) is encoded in local magnetic fields on the physical spins J_(k) (k=1, . . . M). For a consistent mapping, M−N+1 energy penalties in the form of four-body coupling are introduced to enforce an even number of spin-flips around any closed loop in the logical spins. A fully connected graph can then be encoded in a planar architecture with only local connectivity. The problem Hamiltonian in the physical spin basis becomes Ĥ_(p) ^(LHZ,N)=Σ_(k=1) ^(M)J_(k){circumflex over (σ)}_(z,k)−Σ

_(i,j,k,l)

{circumflex over (σ)}_(z,i){circumflex over (σ)}_(z,j){circumflex over (σ)}_(z,k){circumflex over (σ)}_(z,l), where

i,j,k,l

denotes the nearest-neighbour spins enforcing the constraint.

A circuit QED platform can implement the LHZ scheme by embedding the physical spins in the eigenbasis {|{circumflex over (0)}

, |{circumflex over (1)}

} of two-photon driven KNRs. In practice, KNRs can be realized as a superconducting microwave resonator terminated by a flux-pumped SQUID. The non-linear inductance of the SQUIDs induces a Kerr nonlinearity, and a two-photon drive is introduced by flux-pumping at twice the resonator frequency. This setup can be used to realize Josephson parametric amplifiers (JPAs), and we will therefore refer to this implementation of a Kerr nonlinear resonator as a JPA in the text which follows. A quantum annealing platform can be built with groups of four JPAs of frequencies ω_(r,i) (i=1, 2, 3, 4) interacting via a single Josephson Junction (JJ) as illustrated in FIG. 14a . To realize a time-dependent two-photon drive, the SQUID loop of each JPA is driven by a flux pump with tunable amplitude and frequency. The pump frequency is varied close to twice the resonator frequency, ω_(p,k)(t)≃2Ω_(r,i) (see Methods below). Additional single-photon drives, whose amplitude and frequency can be varied in time, are also applied to each of the JPAs and play the role of effective local magnetic fields. Local four-body couplings are realized through the nonlinear inductance of the central JJ, see Supplementary Notes below. Choosing ω_(p,k)(t)+ω_(p,l)(t)=ω_(p,m)(t)+ω_(p,n)(t) and taking the resonators to be detuned from each other, the central JJ induces a coupling of the form −

(â_(k) ^(†)â_(l) ^(†)â_(m)â_(n)+h.c.) in the instantaneous rotating frame of the two-photon drives. This four-body interaction is an always-on coupling and its strength

is determined by the JJ nonlinearity. Such a group of four JPAs, which we will refer to as a plaquette, is the central building block of our architecture and can be scaled in the form of the triangular lattice required to implement the LHZ scheme. Note that while JPAs within a plaquette have different frequencies, only four distinct JPA frequencies are required for the entire lattice as illustrated in FIG. 14c . Lastly, the LHZ scheme also requires additional N−2 physical spins at the boundary that are fixed to the up state and which are implemented in our scheme as JPAs stabilized in the eigenstate |{circumflex over (1)}

by two-photon drives. As an illustration, FIG. 14b depicts all the possible interactions in an Ising problem with N=5 logical spins and FIG. 14c shows the corresponding triangular network of coupled JPAs. To implement the adiabatic protocol for a general N-spin Ising problem with the triangular network of M JPAs, the time-dependent Hamiltonian in a frame where each of the JPAs rotate at the instantaneous drive frequency can be written as

$\begin{matrix} {{{{\hat{H}}^{{LHZ},N}(t)} = {{\left( {1 - \frac{t}{\tau}} \right){\hat{H}}_{i}} + {\left( \frac{t}{\tau} \right){\hat{H}}_{p}^{LHZ}} + {\hat{H}}_{fixed}}},} & (36) \\ {where} & \; \\ \begin{matrix} {{{\hat{H}}_{i} = {{\sum\limits_{k = 1}^{M}\left( {{\delta_{0}{\hat{a}}_{k}^{\dagger}{\hat{a}}_{k}} - {K\; {\hat{a}}_{k}^{\dagger 2}{\hat{a}}_{k}^{2}}} \right)} - {C{\sum\limits_{\underset{plaquette}{{\langle{k,l,m,n}\rangle} \in}}\left( {{{\hat{a}}_{k}^{\dagger}{\hat{a}}_{l}^{\dagger}{\hat{a}}_{m}{\hat{a}}_{n}} + {h.c.}} \right)}}}},} \\ {{\hat{H}}_{p}^{LHZ} = {{\sum\limits_{k = 1}^{M}\left\{ {{{- K}\; {\hat{a}}_{k}^{\dagger 2}{\hat{a}}_{k}^{2}} + {ɛ_{p}\left( {{\hat{a}}_{k}^{\dagger 2} + {\hat{a}}_{k}^{2}} \right)} + {J_{k}\left( {{\hat{a}}_{k}^{\dagger} + {\hat{a}}_{k}} \right)}} \right\}} -}} \\ {{{C{\sum\limits_{\underset{plaquette}{{\langle{k,l,m,n}\rangle} \in}}\left( {{{\hat{a}}_{k}^{\dagger}{\hat{a}}_{l}^{\dagger}{\hat{a}}_{m}{\hat{a}}_{n}} + {h.c.}} \right)}},}} \\ {{\hat{H}}_{fixed} = {{\sum\limits_{k = {M + 1}}^{M + N - 2}{{- K}\; {\hat{a}}_{k}^{\dagger 2}{\hat{a}}_{k}^{2}}} + {{ɛ_{p}\left( {{\hat{a}}_{k}^{\dagger 2} + {\hat{a}}_{k}^{2}} \right)}.}}} \end{matrix} & (37) \end{matrix}$

As mentioned above, M=N(N−1)/2 while J_(k) is the single-photon drive which induces the local effective magnetic field on the k^(th) resonator and

is the local four-body coupling between the resonators. A final necessary component for a quantum annealing architecture is readout of the state of the physical spin. Here, this is realized by standard homodyne detection which can resolve the two coherent states |±α₀

allowing the determination of the ground state configuration of the spins.

In order to demonstrate the adiabatic algorithm for a non-trivial case, we embed on a plaquette a simple three-spin frustrated Ising problem, in which the spins are anti-ferromagnetically coupled to each other, Ĥ_(p)=JΣ_(k,j=1,2,3){circumflex over (σ)}_(z,k){circumflex over (σ)}_(z,j) with J>0. This Hamiltonian has six degenerate ground states in the logical spin basis. Following the LHZ approach, a mapping of N=3 logical spins requires M=3 physical spins (in this case 3 JPAs) and one physical spin fixed to up state (in our case a JPA initialized to the stable eigenstate |1

). Since the physical spins {|0

, |1

} encoded in the JPAs constitute the relative alignment of the logical spins, there are three possible solutions in this basis: |1, 0, 0

, |0, 1, 0

and |1, 0, 1

. The time-dependent Hamiltonian for the adiabatic protocol then follows from Eq.(36) with M=3. The anti-ferromagnetic coupling between the logical spins is represented by the single-photon drives on each JPA with amplitude J_(k)=J>0. At t=0, the ground state of this Hamiltonian is the vacuum |0, 0, 0

. For appropriate magnitude of the four-body coupling (see Supplemental Notes below), the problem Hamiltonian can be expressed as Ĥ_(p)=J(4α₀ε_(p) ²/K)Σ_(k=1) ³ {circumflex over (σ)} _(z,i)−2

|α₀|⁴ {circumflex over (σ)} _(z,1) {circumflex over (σ)} _(z,2) {circumflex over (σ)} _(z,3) {circumflex over (σ)} _(z,4)+cont. with α₀=√ε_(p)/K. This realizes the required problem Hamiltonian in the LHZ scheme Ĥ_(p) ^(LHZ,N=3).

To illustrate the performance of this protocol, the evolution subjected to the Hamiltonian of Eq.(36) can be simulated with the three resonators initialized to vacuum and the fourth initialized to the state |1

. With ε_(p)=2K, α₀=√{square root over (2)}, J=0.095K,

=0.05K, τ=40/Δ_(min) and κ=0, we find that the success probability to reach the ground state to be 99.3%. The reduction in fidelity arises from the non-adiabatic errors. The probability for the system to be in one of the states |0/1, 0/1, 0/1, 0/1

is 99.98% indicating that, with high accuracy, the final state is restricted to this subspace. FIG. 15(a) shows the dependence of the success probability on single-photon loss rate (circles). It also presents the success probability when the algorithm is implemented with qubits (squares) subjected to dephasing noise (see Methods). Again, we find that, in the presence of equal strength noise, the adiabatic protocol with JPAs (or two-photon driven KNRs) has superior performance with respect to qubits. FIG. 15(b) also shows the success probability for the same problem but without using the LHZ embedding, that is, when the three KNRs (circles) or qubits (squares) are directly coupled to each other via a two-body interaction of the form Ĥ_(p)=JΣ_(k,j=1,2,3){circumflex over (σ)}_(z,k){circumflex over (σ)}_(z,j) with J>0 (see Methods below). As with embedding, the success probability with KNRs is higher than with qubits for equal strength noise. For the particular example considered here, the degeneracy of the ground state is higher in the un-embedded problem (six) than for the embedded problem (three). As a result, the likelihood to remain in one of the ground states increases and, in the presence of noise, the un-embedded problem performs slightly better than the embedded problem. These examples of simple frustrated three-spin problems demonstrate the performance of a single plaquette. Embedding of large Ising problems requires more plaquettes connected together as shown in FIG. 14. Even in such a larger lattice, each JPA is connected to only four other JPAs, making it likely that the final state remains restricted to the encoded subspace spanned by the states |0

, |1

.

All-to-all Connected Ising Problem with LHZ Variants:

The LHZ embedding introduced above can be referred to as the “even parity” scheme because the four-body constraint ensures that there are only even number physical spins with

{circumflex over (σ)}_(z,k)

=1 in a plaquette. In other words, the sum of the spins around a plaquette is −4, 0 or 4. An alternate realization of the LHZ scheme has “odd-parity” constraints. In this realization, the four-body constraint takes the form +

{circumflex over (σ)}_(z,i){circumflex over (σ)}_(z,j){circumflex over (σ)}_(z,k){circumflex over (σ)}_(z,l) and forces the sum of the physical spins around the plaquette to be 2 or −2. In the odd-parity parity scheme, the couplings between the logical spins J_(i,j) is mapped on the local magnetic field to the physical spin k but with an additional phase which depends on i, j. Specifically, J_(k)=−J_(i,j) if j is even and i is odd and J_(k)=J_(i,j) otherwise. The KNR-based platform described in the previous section can also be easily extended to implement the odd-parity LHZ embedding by appropriately choosing the phase of the local single-photon drive and realizing a coupling between the resonators of the form

${+ C}{\sum\limits_{\underset{plaquette}{{\langle{k,l,m,n}\rangle} \in}}\left( {{{\hat{a}}_{k}^{\dagger}{\hat{a}}_{l}^{\dagger}{\hat{a}}_{m}{\hat{a}}_{n}} + {h.c.}} \right)}$

in which h.c. stands for hermitian conjugate and, in other words, in which KNOs are made to interact via connectors exchanging bosons within groups of 3 or four nearest neighbor KNOs.

Accordingly, an adiabatic protocol performing quantum annealing with all-to-all connected Ising spins in a network of non-linear resonators with only local interactions can be provided. The performance analysis of this annealer in the presence of single-photon loss shows that the success probability can be considerably higher compared to qubits with same amount of loss. Although the implementation of the LHZ scheme has been explored here, other embedding schemes such as minor embedding could be realized by taking advantage of single-photon exchange and the corresponding two-body couplings that it results in. A distinguishing feature of the above-reported scheme is that the spins are encoded in continuous-variable states of resonator fields. The restriction to two approximately orthogonal coherent states only happens in the late stage of the adiabatic evolution, and in general each site must be treated as a continuous variable system displaying rich physics, exemplified by non-Gaussian states, with negative-valued Wigner functions.

The quantum fluctuations around the instantaneous ground and excited states can lead to increased stability of the ground state. As the size of the system increases, these continuous variable states might alter the nature of phase transitions during the adiabatic evolution, something which may lead to changes in computational power. It is also worth pointing out that the circuit QED implementation easily allows for adding correlated phase fluctuations given by interaction terms like â_(i) ^(†)â_(i)â_(j) ^(†)â_(j) (see Supplementary Notes below). These terms do not affect the energy spectrum of the encoded problem Hamiltonian, but may modify the scaling of the minimal gap during the annealing protocol.

Yet another appealing feature that motivates further study is that the time-dependent Hamiltonian of KNRs is generically non-stoquastic in the number basis. A stoquastic Hamiltonian by definition only has real, non-positive off-diagonal entries, and the Hamiltonians in this class are directly amenable to quantum Monte Carlo simulations (stoquastic Hamiltonians do not have the so-called “sign problem”). As an example, the transverse field Ising Hamiltonian, which is the focus of much current experimental efforts, is stoquastic. In contrast, the Hamiltonian of the system presented above has off-diagonal terms Σ_(k)J_(k)(â_(k) ^(†)+â_(k)) in the LHZ embedding (or Σ_(i,j)J_(i,j)â_(i)â_(j) ^(†)+h.c. if this embedding is not used) with problem dependent signs (note that simply mapping â_(k)→−−â_(k) does not solve the problem due to the presence of the quartic terms Eq.(35)). The same is true if one considers matrix elements in the over-complete basis of coherent states. Non-stoquasticity has been linked to exponential speedups in quantum annealing, and is widely believed to be necessary to gain more than constant speedup over classical devices.

Currently, the large Hilbert space size prevents numerically exact simulations with more than a few resonators. Nonetheless, the results here strongly suggest that the adiabatic protocol with two-photon driven KNRs has excellent resistance to photon loss and thermal noise. Together with the highly non-classical physics displayed during the adiabatic evolution, this motivates the realization of a robust, scalable quantum Ising machine based on this architecture.

Methods—Scalability

Eigen-Subspace of a Two-Photon Driven KNR:

The Hamiltonian of the two-photon driven KNR can be expressed as

$\begin{matrix} {{\hat{H}}_{0} = {{{{- K}\; {\hat{a}}^{\dagger 2}{\hat{a}}^{2}} + {ɛ_{p}\left( {{\hat{a}}^{\dagger 2} + {\hat{a}}^{2}} \right)}} = {{{- {K\left( {{\hat{a}}^{\dagger 2} - \frac{ɛ_{p}}{K}} \right)}}\left( {{\hat{a}}^{2} - \frac{ɛ_{p}}{K}} \right)} + {\frac{ɛ_{p}^{2}}{K}.}}}} & (38) \end{matrix}$

This form makes it clear that the two coherent states |±ε_(p)/K

, which are the eigenstates of the annihilation operator â, are also degenerate eigenstates of Eq.(38) with energy ε_(p) ²/K.

Time-Dependent Hamiltonian in the Instantaneous Rotating Frame:

A demonstration concerning required time-dependence of the amplitude and frequency of the drives to obtain the time-dependent Hamiltonians needed for the adiabatic protocol are now presented. As an illustration, consider the example of a two-photon driven KNR with additional single-photon drive whose Hamiltonian is written in the laboratory frame as

Ĥ _(1,Lab)(t)=ω_(r) â ^(†) â−Kâ ^(†2) â ²+ε_(p)(t)[e ^(−iω) ^(p) ^((t)t) â ^(†2) +e ^(iω) ^(p) ^((t)t) â ²]+ε₀(t)[e ^(−iω) ^(p) ^((t)t/2) â ^(†) +e ^(iω) ^(p) ^((t)t/2) â].

Here, ω_(r) is the fixed KNR frequency and ω_(p)(t) is the time-dependent two-photon drive frequency. The frequency of the single-photon drive, of amplitude ε₀(t), is chosen to be ω_(p)(t)/2 such that it is on resonance with the two-photon drive. In a rotating frame defined by the unitary transformation Û=exp[iω_(p)(t)tâ^(†)â/2], this Hamiltonian reads

$\quad\begin{matrix} \begin{matrix} {{{{\hat{H}}_{1}(t)} = {{{\hat{U}(t)}^{\dagger}{{\hat{H}}_{Lab}(t)}{\hat{U}(t)}} - {i\; {\hat{U}(t)}^{\dagger}{\hat{U}(t)}}}},} \\ {= {{\left( {\omega_{r} - \frac{\omega_{p}(t)}{2} - {{{\overset{.}{\omega}}_{p}(t)}\frac{t}{2}}} \right){\hat{a}}^{\dagger}\hat{a}} - {K{\hat{a}}^{\dagger 2}{\hat{a}}^{2}} +}} \\ {{{{ɛ_{p}(t)}\left( {{\hat{a}}^{\dagger 2} + {\hat{a}}^{2}} \right)} + {{ɛ_{0}(t)}{\left( {{\hat{a}}^{\dagger} + \hat{a}} \right).}}}} \end{matrix} & (40) \end{matrix}$

Choosing the time dependence of the drive frequency as ω_(p)(t)=2ω_(r)−2δ₀(1−t/2τ), and the drive strengths as ε_(p)(t)=ε_(p)t/τ and ε₀(t)=ε₀t/τ, the above Hamiltonian simplifies to

$\quad\begin{matrix} \begin{matrix} {{{\hat{H}}_{1}(t)} = {{{\delta_{0}\left( {1 - \frac{t}{\tau}} \right)}{\hat{a}}^{\dagger}\hat{a}} - {K\; {\hat{a}}^{\dagger 2}{\hat{a}}^{2}} + {\left( \frac{t}{\tau} \right){ɛ_{p}\left( {{\hat{a}}^{\dagger 2} + {\hat{a}}^{2}} \right)}} +}} \\ {{\left( \frac{t}{\tau} \right){ɛ_{0}\left( {{\hat{a}}^{\dagger} + \hat{a}} \right)}}} \\ {= {{\left( {1 - \frac{t}{\tau}} \right)\left\lbrack {{\delta_{0}{\hat{a}}^{\dagger}\hat{a}} - {K\; {\hat{a}}^{\dagger 2}{\hat{a}}^{2}}} \right\rbrack} + {\left( \frac{t}{\tau} \right)\left\lbrack {{{- K}\; {\hat{a}}^{\dagger 2}{\hat{a}}^{2}} +} \right.}}} \\ {\left. {{ɛ_{p}\left( {{\hat{a}}^{2} + {\hat{a}}^{2}} \right)} + {ɛ_{0}\left( {{\hat{a}}^{\dagger} + \hat{a}} \right)}} \right\rbrack.} \end{matrix} & (41) \end{matrix}$

This has the standard form of a linear interpolation between an initial Hamiltonian and a problem Hamiltonian that is required to implement the adiabatic protocol.

As a second illustration, the time-dependent Hamiltonian for finding the ground state of a frustrated three spin problem embedded on a plaquette is

$\begin{matrix} {{{{\hat{H}}_{Lab}^{LHZ}(t)} = {{\sum\limits_{k = 1}^{4}\left( {{\omega_{r,k}{\hat{a}}_{k}^{\dagger}{\hat{a}}_{k}} - {K\; {\hat{a}}_{k}^{\dagger 2}{\hat{a}}_{k}^{2}}} \right)} - {C\left( {{{\hat{a}}_{1}^{\dagger}{\hat{a}}_{2}^{\dagger}{\hat{a}}_{3}{\hat{a}}_{4}} + {h.c.}} \right)} + {\sum\limits_{k = 1}^{3}{{J(t)}\left\lbrack {{e^{{- i}\; {\omega_{p,k}{(t)}}t\text{/}2}a^{\dagger}} + {e^{i\; {\omega_{p,k}{(t)}}t\text{/}2}\hat{a}}} \right\rbrack}} + {\sum\limits_{k = 1}^{3}{{ɛ_{p}(t)}\left\lbrack {{e^{{- i}\; {\omega_{p,k}{(t)}}}{\hat{a}}^{\dagger 2}} + {e^{i\; {\omega_{p,k}{(t)}}t}{\hat{a}}^{2}}} \right\rbrack}} + {ɛ_{p}\left\lbrack {{e^{{- i}\; \omega_{p,4}t}{\hat{a}}^{\dagger 2}} + {e^{i\; \omega_{p,4}t}{\hat{a}}^{2}}} \right\rbrack}}},} & (42) \end{matrix}$

where ω_(r,k) are the fixed resonator frequencies and ω_(p,k)(t) the time-dependent two-photon drive frequencies. The resonators labelled k=1, 2 and 3 are driven by time-dependent two-photon and single-photon drives of strengths ε_(p)(t), J(t) and frequency ω_(p,k)(t), ω_(p,k)(t)/2, respectively. On the other hand, the frequency and strength of the two-photon drive on the k=4 resonator is fixed. Applying the unitary Û=exp[iΣ_(k=1) ³ω_(p,k)(t)tâ_(k) ^(†)â_(k)/2] leads to the transformed Hamiltonian

$\begin{matrix} {{{\hat{H}}^{LHZ}(t)} = {{\sum\limits_{k = 1}^{3}\left\lbrack {{\left( {\omega_{r,k} - \frac{\omega_{p,k}(t)}{2} - {{{\overset{.}{\omega}}_{p,k}(t)}\frac{t}{2}}} \right){\hat{a}}_{k}^{\dagger}{\hat{a}}_{k}} - {K\; {\hat{a}}_{k}^{\dagger 2}{\hat{a}}_{k}^{2}} + {{J(t)}\left( {{\hat{a}}_{k}^{\dagger} + {\hat{a}}_{k}} \right)} + {{ɛ_{p}(t)}\left( {{\hat{a}}_{k}^{\dagger 2} + {\hat{a}}_{k}^{2}} \right)}} \right\rbrack} - {C\left( {{{\hat{a}}_{1}^{\dagger}{\hat{a}}_{2}^{\dagger}{\hat{a}}_{3}{\hat{a}}_{4}e^{{i{({{\omega_{p,1}{(t)}} + {\omega_{p,2}{(t)}} - {\omega_{p,3}{(t)}} - \omega_{p,4}})}}t\text{/}2}} + {h.c.}} \right)} + {\left( {\omega_{r,4} - \frac{\omega_{p,4}}{2}} \right){\hat{a}}_{4}^{\dagger}{\hat{a}}_{4}} - {K\; {\hat{a}}_{4}^{\dagger 2}{\hat{a}}_{4}^{2}} + {{ɛ_{p}\left( {{\hat{a}}_{4}^{\dagger 2} + {\hat{a}}_{4}^{2}} \right)}.}}} & (43) \end{matrix}$

To realize Eq.(35) implementing the adiabatic algorithm on this plaquette, we choose the drive frequencies such that ω_(p,k)(t)=2ω_(r,k)−2δ₀(1−t/2τ) and ω_(p,4)=2ω_(r,4), with their sum respecting ω_(p,1)(t)+ω_(p,2)(t)=ω_(p,3)(t)+ω_(p,4). Moreover, we take the time-dependent amplitudes ε_(p)(t)=ε_(p)t/τ and J(t)=Jt/τ.

Estimation of Success Probability:

To estimate the success probability of the adiabatic algorithm with KNRs, as shown by the circles in FIG. 13, we numerically simulate the master equation {circumflex over ({dot over (ρ)})}=−[Ĥ₂(t), {circumflex over (ρ)}]+κ

[â₁]+κ

[â₂], where photon loss is accounted for by the Lindbladian

[â_(i)]=â_(i){circumflex over (ρ)}â_(i) ^(†)−(â_(i) ^(†)â_(i){circumflex over (ρ)}+{circumflex over (ρ)}â_(i) ^(†)â_(i))/2. It is important to keep in mind that even though the energy gap is small in the rotating frame, the KNRs laboratory frame frequencies ω_(r,k) are by far the largest energy scale. As a result, the above standard quantum optics master equation correctly describes damping in this system. Moreover, because we are working with KNR frequencies in the GHz range, as is typical with superconducting circuits, thermal fluctuations are negligible. From this master equation, the success probability can be evaluated as the probability of occupation of the correct ground state at the final time t=τ, that is,

0, 1|{circumflex over (ρ)}(τ)|0, 1

+

1, 0|{circumflex over (ρ)}(τ)|1, 0

and

0, 0|{circumflex over (ρ)}(τ)|0, 0

+

1, 1|{circumflex over (ρ)}(τ)|1, 1

for ε₀>0 and ε₀<0, respectively. On the other hand, the master equation used to simulate the adiabatic algorithm with qubits is {circumflex over ({dot over (ρ)})}=−[Ĥ₂ ^(qubits)(t),{circumflex over (ρ)}]+κ

[{circumflex over (σ)}_(z,1)]+κ

[{circumflex over (σ)}_(z,2)] where

$\begin{matrix} {\mspace{79mu} {{{{\hat{H}}_{2}^{qubits}(t)} = {{\left( {1 - \frac{t}{\tau}} \right){\hat{H}}_{i}^{qubits}} + {\left( \frac{t}{\tau} \right){\hat{H}}_{p}^{qubits}}}},}} & (44) \\ {{{\hat{H}}_{i}^{qubits} = {U{\sum\limits_{{i = 1},2}{\hat{\sigma}}_{x,i}}}},\; {{\hat{H}}_{p}^{qubits} = {J\; {\hat{\sigma}}_{z,1}{\hat{\sigma}}_{z,2}}},\; {{\left\lbrack {\hat{\sigma}}_{z,i} \right\rbrack} = {{\gamma_{\varphi}\left( {{{\hat{\sigma}}_{z,i}\hat{\rho}{\hat{\sigma}}_{z,i}} - \hat{\rho}} \right)}.}}} & (45) \end{matrix}$

Here, {circumflex over (σ)}_(z,i) and σ_(x,i) are Pauli operators in the computational basis formed by the ground |g

and excited state |e

the i^(th) qubit. In these simulations, the qubits are initialized to the ground state of the initial transverse field, and the success probability (squares in FIG. 13) is computed as the probability of occupation of the correct ground state at t=τ, that is,

g, e|{circumflex over (ρ)}(τ)|g, e

+

e, g|{circumflex over (ρ)}(τ)|e, g

and

g, g|{circumflex over (ρ)}(τ)|g, g

+

e, e|{circumflex over (ρ)}(τ)|e, e

for J>0 and J<0, respectively.

Finally, to obtain the data for the resonators in FIG. 15 (circles), the simulated master equation is {circumflex over ({dot over (ρ)})}=−[Ĥ^(LHZ)(t), {circumflex over (ρ)}]+Σ_(i=1,2,3)κ

[â_(i)] while, for qubits, it is {circumflex over ({dot over (ρ)})}=−[Ĥ^(LHZ,qubits)(t), {circumflex over (ρ)}]+Σ_(i=1,2,3)γ_(ϕ)

[{circumflex over (σ)}_(z,i)]. In these expressions,

$\begin{matrix} {\mspace{79mu} {{{{\hat{H}}_{2}^{{LHZ},{qubits}}(t)} = {{\left( {1 - \frac{t}{\tau}} \right){\hat{H}}_{i}^{quibits}} + {\left( \frac{t}{\tau} \right){\hat{H}}_{p}^{{LHZ},{qubits}}}}},}} & (46) \\ {{{\hat{H}}_{i}^{qubits} = {U{\sum\limits_{{i = 1},2,3}{\hat{\sigma}}_{x,i}}}},\; {{\hat{H}}_{p}^{{LHZ},{qubits}} = {{J{\sum{\hat{\sigma}}_{z,i}}} + {C\; {\hat{\sigma}}_{z,1}{\hat{\sigma}}_{z,2}{\hat{\sigma}}_{z,3}{{\hat{\sigma}}_{z,4}.}}}}} & (47) \end{matrix}$

The success probability is computed as the probability of occupation of the correct ground state at t=τ, that is,

0, 1, 0|{circumflex over (ρ)}(τ)|0, 1, 0

+

1, 0, 0|{circumflex over (ρ)}(τ)|1, 0, 0

+

0, 0, 1|{circumflex over (ρ)}(τ)|0, 0, 1

(circles in FIG. 15) and

g, e, g|{circumflex over (ρ)}(τ)|g, e, g

+

e, g, g|{circumflex over (ρ)}(τ)|e, g, g

+

g, g, e|{circumflex over (ρ)}(τ)|g, g, e

(squares in FIG. 15).

Two Paradigms of Quantum Annealing:

The KNR based quantum annealer proposed above can be based on an adiabatic non-equilibrium evolution, where the system is subject to driven and dissipative processes. This is in stark contrast to the conventional approach to quantum annealing, where a quantum system is at all times in thermal equilibrium at very low temperature such that it stays close to the ground state, as Hamiltonian parameters are adiabatically varied. It is crucial to understand the very different roles played by the bath, modelling the environment of the annealer, in these two different approaches. In the conventional approach, as long as the temperature is sufficiently low compared to the energy gap, the thermal population of the first excited state is negligible and the system is effectively in its ground state. In fact, for large gaps, the coupling to the environment typically helps the annealer by constantly cooling the system towards its ground state. On the other hand, the bath becomes detrimental and will typically lead to large errors as soon as Δ˜k_(B)T. Since the gap decreases exponentially with problem size for hard problems, this is a major roadblock for conventional quantum annealing. Even for easier problems when the gap closes polynomially, it quickly becomes extremely challenging to go to large system sizes.

The type of non-equilibrium quantum annealer considered above can overcome this roadblock, but trades the difficulty for a related but different challenge. The crucial point is that although the gap is small in the rotating frame where the annealing schedule is realized, the system still probes the environment at a very high frequency. All coupling and interaction terms in the Hamiltonian are effectively small perturbations of the resonator's bare Hamiltonian Ĥ₀=ω_(r)â^(†)â, such that the energy cost of adding a thermal photon is to a very good approximation ℏω_(r), giving a negligible thermal population, N_(th)=exp(−ℏω_(r)/k_(B)T), for typical frequencies in the 5-15 GHz range and temperatures T˜10 mK. This is also the justification for the master equations used when computing the success probabilities FIGS. 13 and 15.

Although thermal noise is no longer a bottleneck for this type of non-equilibrium quantum annealing, another challenge now arises. Since the system is not in equilibrium, the eigenstates of the rotating frame Hamiltonian are not global eigenstates of the total system, including the bath, and the interaction with the bath therefore does not generically drive the system towards the rotating-frame ground state, even at zero temperature (see Supplementary Notes below). This leads to local dephasing noise for the KNR implementation due to resonator photon loss. We emphasize that when comparing to a qubit implementation in FIGS. 13 and 15, we are comparing to an analogous implementation where the qubits are also only subjected to local dephasing noise, as opposed to thermal noise due to a small gap. This allows a fair comparison of two different physical systems used to realize the Ising spins under equal noise strength.

Realization of Four-Body Coupling: Fixed Coupling

The physical realization of the four-body coupling is described here and more details can be found in Supplementary Notes below. The photon annihilation operators of the four KNRs each of which are driven with a two-photon drive are denoted by ä_(i), with i=1, 2, 3, 4. These resonators are capacitively coupled to a central Josephson junction described by the annihilation operator ä_(c) and of energy −E_(J) cos {(ϕ_(c)/ϕ₀)(â_(c) ^(†)+â_(c))}. In this expression, E_(J) is the Josephson energy, ϕ₀=ℏ/2e is the reduced flux quantum and ϕ_(c) is the standard deviation of the zero-point flux fluctuation for the junction mode. The coupling strength g_(i) between the resonators and the junction is smaller than the detuning between them Δ_(i), g_(i)<<Δ_(i) In this dispersive, limit the mode of the junction becomes dressed with the resonator modes â_(c)→â_(c)−(g₁/Δ₁)â₁−(g₂/Δ₂)â₂+(g₃/Δ₃)â₃+(g₄/Δ₄)â₄ and the Josephson energy becomes

$\begin{matrix} {{- E_{J}}\mspace{11mu} \cos \mspace{11mu} {\left\{ {\frac{\varphi_{c}}{\varphi_{0}}\left( {{\hat{a}}_{c} - {\frac{g_{1}}{\Delta_{1}}{\hat{a}}_{1}} - {\frac{g_{2}}{\Delta_{2}}{\hat{a}}_{2}} + {\frac{g_{3}}{\Delta_{3}}{\hat{a}}_{3}} + {\frac{g_{4}}{\Delta_{4}}{\hat{a}}_{4}} + {h.c}} \right)} \right\}.}} & (48) \end{matrix}$

The fourth-order expansion of the cosine leads to a coupling −

â₁ ^(†)â₂ ^(†)â₃â₄+h.c, where

=E_(J)(ϕ_(c) ⁴/ϕ₀ ⁴)g₁g₂g₃g₄/Δ₁Δ₂Δ₃Δ₄. In the rotating frame of the drive, this coupling becomes resonant when the frequencies are chosen such that ω_(p,1)(t)+ω_(p,2)(t)=ω_(p,3)(t)+ω_(p,4)(t). In addition to the above four-body coupling, cross-Kerr terms of the form â_(i) ^(†)â_(i)â_(j) ^(†)â_(j) are also resonant. These terms do not affect the success probability of the algorithm. The strength of the coupling can be estimated with typical parameters E_(J)/2π=600 GHz, ϕ_(c)=0.12ϕ₀, g_(i)/Δ_(i)˜0.12, resulting in

/2π=63 KHz. For a typical strength of Kerr nonlinearity K/2π=600 KHz, this leads to

/K˜0.1.

The physical realization of the coupling described here presents the general idea of mediating the four-body coupling through a four-wave mixing device. Specifically, in this section we have presented one, perhaps the simplest, example of this device: a single Josephson junction. However, with superconducting circuits there is an extremely broad range of possibilities of realizing such a four-wave mixing device. In addition, the coupling constant can be also be tuned in-situ and from positive to negative values, thus allowing the implementation of both even- and odd-parity LHZ schemes. For instance, an alternate circuit can have a tunable coupling implemented using a Josephson-ring-modulator.

Supplementary Notes—Scalability

Stability Analysis of the Meta-Potential for a Single Two-Photon Driven KNR

The coherent states |±α₀

, where α₀=√ε_(p)/K, are eigenstates of the two-photon driven KNR Hamiltonian

Ĥ ₀ =−Kâ ^(†2) â ²+ε_(p)(â ^(†2) +â ²).  (49)

We start by applying a displacement transformation D(α)=exp(αâ^(†)−αâ) to Ĥ₀, so that

$\begin{matrix} {{\hat{H}}_{0}^{\prime} = {{D^{\dagger}(\alpha)}{\hat{H}}_{0}{D(\alpha)}}} & (50) \\ \begin{matrix} {= {\left\lbrack {{\left( {{{- 2}K\; \alpha^{2}\alpha^{*}} + {2ɛ_{p}\alpha^{*}}} \right){\hat{a}}^{\dagger}} + {h.c.}} \right\rbrack +}} \\ {{\left\lbrack {{\left( {{{- K}\; \alpha^{2}} + ɛ_{p}} \right){\hat{a}}^{\dagger 2}} + {h.c.}} \right\rbrack - {4K{\alpha }^{2}{\hat{a}}^{\dagger}\hat{a}} - {K\; a^{\dagger 2}a^{2}} -}} \\ {{\left( {{2K\; \alpha \; {\hat{a}}^{\dagger 2}\hat{a}} + {h.c.}} \right).}} \end{matrix} & (51) \end{matrix}$

In the above expression, the constant term E(α)=−K|α|⁴+ε_(p)*α²+ε_(p)α*² which represents a shift in energy is dropped. We choose α such that the coefficient of â^(†) satisfies −2Kα²α*+2ε_(p)α*=0, which is equivalent to finding the turning points of the metapotential of FIG. 11 of the manuscript. This equation has three solutions: (0, 0), (±α₀, 0) corresponding to the dip and two peaks of the inverted double-well metapotential. At (0, 0), the Hamiltonian in Eq.(51) represents a resonantly driven parametric amplifier. Therefore, in the absence of losses, large fluctuations make the system unstable around (0, 0)₂. On the other hand, at (±α₀, 0) the Hamiltonian Eq.(51) takes the form

Ĥ ₀′(α=±α₀)=−4K|α ₀|² â ^(†) â−Kâ ^(†2) â ²−(±2Kα ₀ â ^(†2) â+h.c.).  (52)

With this normally ordered form, we immediately conclude that the vacuum |0

is an eigenstate of Ĥ₀′ in the displaced frame. It immediately follows that the coherent states |±α₀

are the eigenstates of the Hamiltonian Ĥ₀ in the non-displaced frame. Furthermore, these are degenerate eigenstates as E(α₀)=E(−α₀).

The Eigen-Subspace in the Presence of Single-Photon Drive

The Hamiltonian of a two-photon driven KNR with an additional single-photon drive is given by

Ĥ=−Kâ ^(†) â ^(†) ââ+ε _(p)(â ^(†2)+ε²)+ε₀(â ^(†) +â).  (1)

Under a displacement transformation D(α) this Hamiltonian reads

Ĥ′=[(−2Kα ²α*+2ε_(p)α*+ε₀)â ^(†) +h.c.]+[(−Kα ²+ε_(p))â ^(†2) +h.c.]−4K|α| ² â ^(†) â−Kâ ^(†2) â ²−(2Kαâ ^(†2) â+h.c.),  (54)

where the constant term E(α)=−K|α|⁴+ε_(p)(α²+α*²)+ε₀(α+α*) representing a shift in energy is dropped. Following the same steps as above, the coefficient of the â^(†) terms vanish if

−2Kα ²α*+2ε_(p)α*+ε₀=0.  (55)

For small ε₀, this equation has three solutions of the form (±α₀+ϵ, 0), (ϵ, 0) with ϵ=ε₀/4ε_(p). In practice, we assume that the amplitude of the single-photon drive is small compared to that of the two-photon drive, ε₀<<ε_(p), so that ϵ→0. If the condition Eq. (55) is satisfied, then the Hamiltonian in the displaced frame reduces to

$\begin{matrix} {{\hat{H}}^{\prime} = {\left\lbrack {{{- \frac{ɛ_{0}}{2\alpha^{*}}}{\hat{a}}^{\dagger 2}} + {{h.c.{- 4}}K{\alpha }^{2}{\hat{a}}^{\dagger}\hat{a}}} \right\rbrack - {K\; {\hat{a}}^{\dagger 2}{\hat{a}}^{2}} - {\left( {{2K\; \alpha \; {\hat{a}}^{\dagger 2}\hat{a}} + {h.c.}} \right).}}} & (56) \end{matrix}$

Following Supplementary Note 1, |0

is an eigenstate of Ĥ′ except for the first term which represents an off-resonant parametric drive of strength |ε₀/2α*| detuned by 4K|α|². If |ε₀/α|<<4K|α|², fluctuations around α are small and |0

remains an eigenstate in the displaced frame. Of the three solutions to Eq.(55), only (±α₀+ϵ, 0) satisfy the condition |ε₀/(±α₀+ϵ)|<<4K|±α₀+ϵ|². The third solution (ϵ, 0) is unstable because of the large quantum fluctuations around this point. As a result, in the non-displaced frame, the eigenstates of the system are |α₀+ϵ

and |−α₀+ϵ

, where ϵ is a small correction. From the expression for E(α), it also clear that the degeneracy between the eigenstates |α₀+ϵ

and |−α₀+ϵ

is lifted by an amount E(α₀)−E(−α₀)=4ε₀α₀.

Increasing ε₀, leads to squeezing due to the first term of Eq.(56). As a result, the states are no longer coherent or, in other words, they are no longer the eigenstates of the photon annihilation operator â, and hence are no longer protected against the single-photon loss channel. To illustrate this effect quantitatively, we numerically diagonalize the Hamiltonian in Eq.(53) to evaluate the ground state for a fixed two-photon drive strength ε_(p)=2K and variable strength single-photon drive amplitude. We numerically solve the master equation for the Hamiltonian in Eq.(53), {circumflex over ({dot over (ρ)})}=−i[Ĥ, {circumflex over (ρ)}]+κ[âρâ^(†)−(â^(†)â{circumflex over (ρ)}+{circumflex over (ρ)}â^(†)â)/2] with the system initialized to the ground state at t=0 and κ=0.2K^(3,4). Finally, from these results, we compute the probability of the system to remain in the ground state

ψ_(g)|{circumflex over (ρ)}|ψ_(g)

after time t, presented in FIG. 16. As seen from these numerical results, the ground state is invariant to single-photon loss for small ε₀, confirming our prediction from the simple theoretical analysis.

Effect of Single Photon Loss During the Annealing Protocol for a Single Driven KNR

The behaviour of the instantaneous ground and excited state during the annealing protocol with a single driven KNR in the presence of single-photon loss can perhaps be best presented as follows. The time-dependent Hamiltonian of this system is given by

$\begin{matrix} {{{\hat{H}}_{1}(t)} = {{\left( {1 - \frac{t}{\tau}} \right)\delta_{0}{\hat{a}}^{\dagger}\hat{a}} - {K\; {\hat{a}}^{\dagger 2}\hat{a}} + {{\left( \frac{t}{\tau} \right)\left\lbrack {{ɛ_{p}\left( {{\hat{a}}^{\dagger 2} + {\hat{a}}^{2}} \right)} + {ɛ_{0}\left( {{\hat{a}}^{\dagger} + \hat{a}} \right)}} \right\rbrack}.}}} & (57) \end{matrix}$

In the presence of single-photon loss, the dynamics of the system is described by the master equation {circumflex over ({dot over (ρ)})}=−i[Ĥ_(1,eff)(t){circumflex over (ρ)}−{circumflex over (ρ)}Ĥ_(1,eff) ^(†)(t)]+κâρâ^(†), where κ is rate of photon loss and Ĥ_(1,eff)(t)=Ĥ₁(t)−κâ^(†)â/2. We apply a displacement transformation D(α) to Ĥ_(1,eff)(t)

$\begin{matrix} {{\hat{H}}_{1,{eff}}^{\prime} = {\left\lbrack {{\left( {{{- 2}K\; \alpha^{2}\alpha^{*}} + {2{ɛ_{p}(t)}\alpha^{*}} + {{\delta (t)}\alpha} - {i\frac{\kappa}{2}\alpha} + {ɛ_{0}(t)}} \right){\hat{a}}^{\dagger}} + {h.c.}} \right\rbrack + {\quad{\left\lbrack {{\left( {{{- K}\; \alpha^{2}} + ɛ_{p}} \right){\hat{a}}^{\dagger 2}} + {h.c.}} \right\rbrack - {4K{\alpha }^{2}{\hat{a}}^{\dagger}\hat{a}} + {{\delta (t)}{\hat{a}}^{\dagger}\hat{a}} - {i\frac{\kappa}{2}{\hat{a}}^{\dagger}\hat{a}} - {K\; {\hat{\alpha}}^{\dagger 2}{\hat{a}}^{2}} - {\left( {{2K\; \alpha \; {\hat{a}}^{\dagger 2}\hat{a}} + {h.c.}} \right).}}}}} & (58) \end{matrix}$

For convenience, the variables have been redefined as δ(t)=δ₀(1−t/τ), ε_(p)(t)=ε_(p)t/τ and ε₀(t)=ε₀t/τ. Again, we take α to satisfy

$\begin{matrix} {{{{{- 2}K\; \alpha^{2}\alpha^{*}} + {2{ɛ_{p}(t)}\alpha^{*}} + {{\delta (t)}\alpha} - {i\frac{\kappa}{2}\alpha} + {ɛ_{0}(t)}} = 0},} & (59) \end{matrix}$

such that the effective Hamiltonian reads

$\begin{matrix} {{\hat{H}}_{1,{eff}}^{\prime} = {\left\lbrack {{\left( {{{- K}\; \alpha^{2}} + ɛ_{p}} \right){\hat{a}}^{\dagger 2}} + {h.c.}} \right\rbrack - {4K{\alpha }^{2}{\hat{a}}^{\dagger}\hat{a}} + {{\delta (t)}{\hat{a}}^{\dagger}\hat{a}} - {i\frac{\kappa}{2}{\hat{a}}^{\dagger}\hat{a}} - {K\; {\hat{a}}^{\dagger 2}{\hat{a}}^{2}} - {\left( {{2K\; \alpha \; {\hat{a}}^{\dagger 2}\hat{a}} + {h.c.}} \right).}}} & (60) \end{matrix}$

Eq.(59) admits three solutions: ˜(0, 0), (±α₀′, 0), with α₀′=√[2ε_(p)(t)+δ(t)]/2K. Repeating the procedure described above we find, at short times when δ(t)>>2ε_(p)(t), that |0

is approximately the lower energy, stable eigenstate of the Hamiltonian. As the evolution proceeds, the strength of the detuning and two-photon drive is modified as δ(t)<<2ε_(p)(t). In this case (0, 0) is not a stable eigenstate. On the other hand, at (±α₀′, 0) the Hamiltonian reads

$\begin{matrix} {{\hat{H}}_{1,{eff}}^{\prime} = {{\frac{1}{2}\left\lbrack {{\left\{ {{{- \left( {{\delta (t)} - {i\frac{\kappa}{2}}} \right)}\frac{\alpha}{2\alpha_{0}^{\prime*}}} - \frac{ɛ_{0}}{\alpha_{0}^{\prime*}}} \right\} {\hat{a}}^{\dagger 2}} + {h.c.}} \right\rbrack} - {4K{\alpha_{0}^{\prime}}^{2}{\hat{a}}^{\dagger}\hat{a}} + {{\delta (t)}{\hat{a}}^{\dagger}\hat{a}} - {i\frac{\kappa}{2}{\hat{a}}^{\dagger}\hat{a}} - {K{\hat{a}}^{\dagger 2}{\hat{a}}^{2}} - \left( {{2K\; \alpha_{0}^{\prime}\; {\hat{a}}^{\dagger 2}\hat{a}} -} \right.}} & (61) \end{matrix}$

In the absence of the first term, |0

would be the eigenstate of the above Hamiltonian and hence the coherent states |±α₀′

the eigenstates in the non-displaced frame. The first term represents a parametric drive of amplitude ζ=|−(δ(t)−iκ/2)(α₀′/2α₀′*)−ε₀/α₀′*| and detuned by |−4K|α₀′²â^(†)â+δ(t)â^(†)â−iκ/2|. In other words, the effect of detuning, photon-loss and single-photon drive is to squeeze the fluctuations around (±α₀′, 0). When δ(t)<2ε_(p)(t), κ<8ε_(p)(t) and ε(t)<4K|α₀′|³ then squeezing is negligible and the eigenstates in the non-displaced frame are approximately coherent states |±α₀′

. If ε₀>0, then (−α₀′, 0) corresponds to the lower energy state, and, on the other hand, if ε₀<0, (α₀′, 0) corresponds to the lower energy state.

Importantly, the amplitude of the squeezing drive for the lower energy state, |ζ|=|−[δ(t)−|ε(t)|/√2ε_(p)(t)+δ(t)/2K]−iκ/2, is smaller than that for higher energy state, |ζ|=|−[δ(t)+|ε(t)|/√2ε_(p)(t)+δ(t)/2K]−iκ/2. As a result, the deviation of the lower energy state from a coherent state is smaller than the similar deviation of the higher energy state. For this reason, during the adiabatic evolution, the lower energy state which is the computational ground state is more stable against photon-jump operation. On the other hand, with δ(t) having the opposite sign, |ζ for the higher energy state becomes smaller than that for the lower energy state. As a result, the instantaneous excited state is then more stable than the instantaneous ground state. This further exemplifies that stability is related to the nature of quantum fluctuations rather than to energy. In the main body of the paper, we take δ(t)>0 to ensure that the instantaneous ground state is more stable. One could just as easily have chosen δ(t)<0 and inverted the Ising problem so that the desired solution would be given by the excited state which would then be more stable to single photon loss.

Effect of Fast-Rotating Terms

The two-photon driven KNR Hamiltonian of Eq.(49) describes the physics of the system in a frame rotating at the 2-photon drive frequency. To obtain this Hamiltonian, fast rotating terms have been dropped following the standard rotating wave approximation (RWA). As discussed above, under that approximation the coherent states |±α₀

are eigenstates of the system.

Conventionally disregarded fast rotating terms can lead to tunneling between |α₀

and |−α₀

. This tunneling is a result of resonant transitions between |±α₀

and other eigenstates of the two-photon driven KNR. Fortunately for the present situation, the corresponding transition rate decreases exponentially with an increase of the ratio of frequency of the two-photon drive ω_(p) and the tunneling barrier which, in the notation used above, is ΔU=ε_(p) ²/K. This is because of increasing difference between the momentum of the states |±α₀

and the other eigenstates which can resonantly mix with |±α₀

also increases with ω_(p). Given the parameters that we suggest using, and which are realizable in the laboratory, this tunneling is in practice negligible.

This can be illustrated with a numerical example. For this purpose, consider the Hamiltonian of the two-photon driven KNR without the RWA which reads

Ĥ(t)=ω_(r) â ^(†) â−Kâ ^(†2) â ²+2ε_(p) cos(ω_(p) t)(â ^(†2) +â ²),  (62)

with ω_(p)=2ω_(r). In the presence of single-photon loss, the dynamics of the system is described by the master equation

$\begin{matrix} {\overset{.}{\hat{\rho}} = {{- {i\left\lbrack {{\hat{H}(t)},\hat{\rho}} \right\rbrack}} + {\kappa \mspace{11mu} {\left( {{\hat{a}\; \hat{\rho}\; {\hat{a}}^{\dagger}} - {\frac{1}{2}{\hat{a}}^{\dagger}\hat{a}\; \hat{\rho}} - {\frac{1}{2}\hat{\rho}\; {\hat{a}}^{\dagger}\hat{a}}} \right).}}}} & (63) \end{matrix}$

Before considering the effect of the non-RWA terms, it is worth pointing out that the presence of damping leads to a transfer of population between the non-orthogonal states |±α₀

at a rate κα₀ ²exp(−2|α₀|²). This effect if negligibly small at large enough α₀ and for the small values of κ that are relevant here.

In the presence of the non-RWA terms, the states |α₀

are no longer the exact eigenstates of the system. In this situation, the tunneling rate increases due to mixing with other eigenstates. This is illustrated in FIG. 17a ) which shows

â

as a function of time obtained numerically by solving Eq.(62) with ω_(p)/ΔU=25 (solid gray line) and 500 (dotted black line) for α₀=√{square root over (2)}. The solid black line line on this Figure shows the equivalent result under the RWA. The transition between the two coherent states is readily apparent for the small value of ω_(p)/ΔU=25. On the other hand, apart from rapid oscillations (see inset), the more relevant case ω_(p)/ΔU=500 is barely distinguishable from the RWA results.

FIG. 17d ) shows the numerically evaluated Wigner function in the lab frame at time t=0 and t=50/ε_(p). The appearance of the additional peak and interference fringe pattern at t=50/ε_(p) signifies the enhanced tunneling due to the fast-rotating terms when ω_(p)/ΔU=25. On the other hand, when ω_(p)/ΔU=500, the fringe pattern and the additional peak is diminished, as illustrated by the Wigner function in FIG. 17c ). In a realistic implementation of this scheme ω_(p) is typically of the order of a 10-20 GHz, whereas, ΔU is of the order of 10-20 MHz, which means that ω_(p)/ΔU>500 and the tunneling due to resonant excitations via the fast rotating terms will not adversely affect the annealing schedule. Note that the rotations in the Wigner function in FIG. 17c,d ) is due to the choice of working in the lab frame. The rotation in the coherent state is not seen if we instead work in the rotating frame as is shown in FIG. 17b ).

In addition to non-RWA corrections, the Hamiltonian of realistic superconducting circuit implementations will have higher order non-linearities than Eq.(62). To verify that these higher-order terms do not change the above conclusion, we consider the time-dependent annealing Hamiltonian for the problem of a single-spin in magnetic field with the full cosine potential of the Josephson junction,

$\begin{matrix} {{{\hat{H}}_{1}(t)} = {{\omega_{r}{\hat{a}}^{\dagger}\hat{a}} + {i\; {ɛ(t)}\left( {{\hat{a}}^{\dagger} - \hat{a}} \right)} - {2\left\{ {{E_{J}\cos \mspace{11mu} \left( \frac{\Phi (t)}{\varphi_{0}} \right)\mspace{11mu} \cos \mspace{11mu} \left( \frac{\hat{\varphi}}{\varphi_{0}} \right)} + {\frac{1}{2}\frac{{\hat{\varphi}}^{2}}{\varphi_{0}^{2}}}} \right\}}}} & (64) \end{matrix}$

In the above expression, ϕ₀=ℏ/2e is the flux quanta, {circumflex over (ϕ)}=ϕ(â^(†)+â) where ϕ the zero-point fluctuations of the resonator mode and E_(J) the Josephson energy. Recall the annealing protocol, in which the external flux Φ(t) is modulated close to twice the frequency of the resonator to obtain the two-photon drive and its amplitude is adiabatically increased. In the numerical simulations, we take Φ(t)=Φ_(x)ϕ₀+δΦ_(x)(t/τ)ϕ₀ cos [2ω_(r)t+δ₀t(1−t/2τ)] with τ the final time and δ₀ is the initial detuning (as defined in the manuscript). Similarly, the single-photon drive is modulated as ε(t)=2ε₀(t/τ)sin(ω_(r)t+δ₀t(1−t/2τ)/2). Here ε₀ is the single photon drive required to encode the problem of a single spin in the magnetic field, as described in the manuscript. With these values, the effective two-photon drive and Kerr nonlinearity are ε_(p)=2E_(J)ϕ² sin(Φ_(x))sin(δΦ_(x))/4, K=2E_(J)ϕ⁴ cos(Φ_(x)) cos(δΦ_(x))/4 and we take Φ_(x)=0.2 and δΦ_(x)=0.03. The resonator is initialized to vacuum at t=0 and its state at t=τ is determined by evolving under the Hamiltonian Ĥ₁(t). The parameters used in the simulation are such that the effective barrier potential ΔU=14.45K, ε_(p), ˜1.95K, ω_(r)˜4984.4K, ε₀=0.8K, δ₀=0.8K and τ=250/K. We numerically simulate the evolution of the state of the resonator under the annealing Hamiltonian in Eq.(64) and FIG. 18 illustrate the resulting Wigner function in the laboratory frame at t=τ for (a) ε₀>0 and (b) ε₀<0.

For the reasonable choice of parameters made here, the final state is essentially not affected by higher-order nonlinearities or fast rotating terms. Indeed, apart from a rotation due to the choice of frame, the result is very close to coherent states and follows the expected dependence of the sign of the single-photon drive. For ε₀>0 and ε₀<0 the overlap of the final state of the resonator with the coherent states |±α

where α=1.37+1.44i is 99.92%. This large overlap with coherent states indicates that for ω_(p)/ΔU˜690 the effect of fast rotating terms is small and do not cause tunneling to the incorrect state, thereby ensuring that a high success probability of 99.92% is obtained.

Energy Spectrum and Average Success Probability of Problems Encoded on a Single Plaquette

There are eight fully-connected Ising problems for three logical spins with weights J_(i,j)=±1: one where all spins are ferromagnetically coupled, one where all are anti-ferromagnetically coupled, three problems where two spins are ferromagnetically coupled, while the coupling to the third is anti-ferromagnetic and three problems where two spins are anti-ferromagnetically coupled, while the coupling to the third is ferromagnetic. All these problems can be encoded on a single plaquette by appropriately choosing the sign of the single-photon drive. For example, as shown in the manuscript, the problem with anti-ferromagnetic coupling between all logical spins is embedded on the KNRs by applying single-photon drives such that J>0. Similarly, to embed a problem where all logical spins are coupled ferromagnetically, all the applied single-photon drives must be such that J<0. In order to embed the problem correctly in the LHZ scheme, the four-body coupling must be larger than local magnetic fields⁶. In our case, this implies

|α₀|³>J. Furthermore, for the Hilbert space to be defined in the coherent state basis, the four-body coupling should be small enough so that it acts merely as a perturbation on the two-photon driven KNR (

|α₀|³<<4K|α₀|³or

<<4K).

To illustrate a particular case, we consider all the logical spins to be coupled anti-ferromagnetically. The ground state is then sixfold degenerate: {|0, 0, 1

, |0, 1, 0

, |1, 0, 0

, |1, 1, 0

, |1, 0, 1

, |0, 1, 1

}. In the basis of physical spins, which map the relative configuration of the logical spins, the ground state is threefold degenerate: {|0, 0, 1

, |0, 1, 0

, |1, 0, 0

}. Supplementary FIG. 19(a) shows the change in the energy spectrum during the adiabatic protocol with ε_(p)=2K,

=0.05K and single-photon drive to all the resonators J=0.095K. The energy is referred to the ground state. As expected, at t=τ, the ground state becomes threefold degenerate.

On the other hand, if the logical spins are coupled ferromagnetically, then there are two possible ground states: {|0, 0, 0

, |1, 1, 1

}. This implies that, in the physical spin basis, there is a single non-degenerate ground state: |1, 1, 1

. Supplementary FIG. 19(b) shows the change in the energy spectrum during the adiabatic protocol with ε_(p)=2K and

=0.05K but with the single-photon drive J=−0.095K on all the resonators.

In a similar way, it is possible to encode all eight problems on the plaquette. We find that, in the absence of single-photon loss, the average success probability to find the correct ground state with the adiabatic algorithm is 99.7% in time τ=200/K. FIG. 20 shows the dependence of the success probability on the rate of single-photon loss. It also presents the success probability of the protocol implemented using qubits with dephasing rate γ_(ϕ). The time-dependent Hamiltonian for qubits is designed to have the same minimum energy gap as that with the JPAs and the duration of the protocol is also chosen to be the same. Clearly the adiabatic protocol with the JPAs outperform that with qubits in the presence of equal strength noise.

Physical Realization of a Plaquette

Josephson parametric amplifiers (JPAs) are arranged in a triangular lattice and coupled together using Josephson junctions (JJ). As described in the main text, a single plaquette is comprised of four JPAs and a coupling JJ. The JPA is realized by embedding a SQUID in a resonator and modulating the flux through the SQUID at a frequency close to twice the frequency of the resonator. To implement the adiabatic protocol described in the manuscript (see Eq.(36) and Methods section in the manuscript), the flux modulation frequency is linearly varied from ω_(p,k)(0)=2ω_(r,k)−2δ₀ at t=0 to ω_(p,k)(τ)=2ω_(r,k)−δ₀ at t=τ. With an additional single-photon drive, the Hamiltonian of the k^(th) JPA can then be written as

Ĥ _(JPA,k)=ω_(r,k) â _(k) ^(†) â _(k) −Kâ _(k) ^(†2) â _(k) ² +J(t)[e ^(−iω) ^(p,k) ^((t)t/2) â ^(†) +e ^(iω) ^(p,k) ^((t)t/2) â]+ε _(p)(t)[e ^(−iω) ^(p,k) ^((t)t) â ^(†2) +e ^(iω) ^(p,k) ^((t)t) â ²].   (65)

The Kerr nonlinearity K and frequency ω_(r,k) are determined by the charging and Josephson energy of the junctions in the SQUID. The two-photon drive ε_(p) depends on the magnitude of the flux modulation.

FIG. 21 shows four JPAs of different frequencies capacitively coupled to a single JJ. The Hamiltonian of this plaquette is given by

$\begin{matrix} {{\hat{H} = {{\sum\limits_{k = 1}^{4}{\hat{H}}_{{JPA},k}} + {\hat{H}}_{c}}},} & (66) \end{matrix}$

where the Hamiltonian of each JPA is given in Eq.(65) and the coupling Hamiltonian is given by

$\begin{matrix} {{{\hat{H}}_{c} = {{\omega_{c}{\hat{a}}_{c}^{\dagger}{\hat{a}}_{c}} + {g_{1}\left( {{{\hat{a}}_{c}^{\dagger}{\hat{a}}_{1}} + {{\hat{a}}_{1}^{\dagger}{\hat{a}}_{c}}} \right)} + {g_{2}\left( {{{\hat{a}}_{c}^{\dagger}{\hat{a}}_{2}} + {{\hat{a}}_{2}^{\dagger}{\hat{a}}_{c}}} \right)} - {g_{3}\left( {{{\hat{a}}_{c}^{\dagger}{\hat{a}}_{3}} - {{\hat{a}}_{3}^{\dagger}{\hat{a}}_{c}}} \right)} - {g_{4}\left( {{{\hat{a}}_{c}^{\dagger}{\hat{a}}_{4}} + {{\hat{a}}_{4}^{\dagger}{\hat{a}}_{c}}} \right)} - {E_{J}\left( {{\cos \mspace{11mu} \left( \frac{\hat{\Phi}}{\varphi_{0}} \right)} + {\frac{1}{2}\left( \frac{\hat{\Phi}}{\varphi_{0}} \right)^{2}}} \right)}}},} & (67) \end{matrix}$

where {circumflex over (Φ)}=ϕ_(c)(â_(c) ^(†)+â_(c)), ϕ₀=ℏh/2e is the flux quantum, â_(c)(â_(c) ^(†)) is the annihilation (creation) operator for the mode across the coupling JJ and ϕ_(c) is the standard deviation of the zero-point flux fluctuation for this JJ mode. {circumflex over (Φ)} is the phase across the junction, E_(J) is its Josephson energy, ω_(c) is the frequency of the junction mode and g_(k) is the rate at which energy is exchanged between this mode and the k^(th) JPA. Following the definition for the mode operators, the quadratic term ∝{circumflex over (Φ)}² has been removed from the cosine. The coupling rate can be expressed as g_(k)=ϕ₀ ²e²/2

ϕ_(c)ϕ_(k) in terms of the coupling capacitor

and the zero point flux fluctuation for the JPA mode (ϕ_(k)). The total Hamiltonian is obtained by substituting Eq.(65) and Eq.(67) in Eq.(66).

The frequency of the junction mode is designed to be largely detuned from the JPA modes, such that Δ_(k)=ω_(c)−ω_(r,k)>>g_(k). It is then possible to apply a dispersive unitary transformation Û=exp(−i(g₁/Δ₁)â_(c) ^(†)â₁−i(g₂/Δ₂)â_(c) ^(†)â₂+i(g₃/Δ₃)â_(c) ^(†)â₃+i(g₄/Δ₄)â_(c) ^(†)â₄+h.c.) to the total Hamiltonian, so that, to the second order in g_(k)/Δ_(k), the total Hamiltonian becomes

$\begin{matrix} {{\hat{H} \sim {{\sum\limits_{k = 1}^{4}\left( {{\hat{H}}_{{JPA},k} - {\frac{g_{k}^{2}}{\Delta_{k}}{\hat{a}}_{k}^{\dagger}{\hat{a}}_{k}}} \right)} + {\left( {\omega_{c} + \frac{g_{k}^{2}}{\Delta_{k}}} \right){\hat{a}}_{c}^{\dagger}{\hat{a}}_{c}} - {E_{J}\mspace{11mu} \left( {{\cos \mspace{11mu} \left( \frac{{\hat{\Phi}}^{\prime}}{\varphi_{0}} \right)} + {\frac{1}{2}\mspace{11mu} \left( \frac{{\hat{\Phi}}^{\prime}}{\varphi_{0}} \right)^{2}}} \right)}}},} & (68) \\ {\mspace{79mu} {{\sim {{\sum\limits_{k = 1}^{4}\left( {{\hat{H}}_{{JPA},k} - {\frac{g_{k}^{2}}{\Delta_{k}}{\hat{a}}_{k}^{\dagger}{\hat{a}}_{k}}} \right)} + {\left( {\omega_{c} + \frac{g_{k}^{2}}{\Delta_{k}}} \right){\hat{a}}_{c}^{\dagger}{\hat{a}}_{c}} - {E_{J}\frac{1}{4!}\frac{{\hat{\Phi}}^{\prime 4}}{\varphi_{0}^{4}}}}},}} & (69) \\ {\mspace{79mu} {where}} & \; \\ {\mspace{79mu} {{\hat{\Phi}}^{\prime} = {{\varphi_{c}\left( {a_{c}^{\dagger} - {\frac{g_{1}}{\Delta_{1}}{\hat{a}}_{1}^{\dagger}} - {\frac{g_{2}}{\Delta_{2}}{\hat{a}}_{2}^{\dagger}} + {\frac{g_{3}}{\Delta_{3}}{\hat{a}}_{3}^{\dagger}} + {\frac{g_{4}}{\Delta_{4}}{\hat{a}}_{4}^{\dagger}} + {h.c.}} \right)}.}}} & (70) \end{matrix}$

The expression in Eq.(69) is obtained by expanding the cosine term to the fourth order.

The central Josephson junction mode is far detuned from the JPAs and is not driven externally so that we have

â_(c)

=

â_(c) ^(†)â_(c)

=0. As a result, it is possible to eliminate this mode and obtain a Hamiltonian for the JPA modes only.

Furthermore, in a frame rotating at the frequencies of the two-photon drives, the photon annihilation operators transform as â_(k)→e^(−ω) ^(p,k) ^((t)t)â_(k). As discussed in the text, the two-photon drive frequencies are such that ω_(p,k)≠ω_(p,m) and ω_(p,1)+ω_(p,2)=ω_(p,3)+ω_(p,4). As a result, we can eliminate fast rotating terms in the expansion of the last term in Eq.(69) and realize the plaquette Hamiltonian

$\begin{matrix} {{\hat{H}}_{plaquette} \sim {{\sum\limits_{k = 1}^{4}\left( {{\hat{H}}_{{JPA},k} - {\frac{g_{k}^{2}}{\Delta_{k}}{\hat{a}}_{k}^{\dagger}{\hat{a}}_{k}}} \right)} - {E_{J}\frac{\varphi_{c}^{4}}{\varphi_{0}^{4}}\frac{g_{1}g_{2}g_{3}g_{4}}{\Delta_{1}\Delta_{2}\Delta_{3}\Delta_{4}}\left( {{{\hat{a}}_{1}^{\dagger}{\hat{a}}_{2}^{\dagger}{\hat{a}}_{3}{\hat{a}}_{4}} + {h.c.}} \right)} - {E_{J}\frac{\varphi_{c}^{4}}{\varphi_{0}^{4}}{\sum\limits_{{k \neq m} = 1}^{4}{\frac{g_{k}^{2}g_{m}^{2}}{\Delta_{k}^{2}\Delta_{m}^{2}}{\hat{a}}_{k}^{\dagger}{\hat{a}}_{k}{\hat{a}}_{m}^{\dagger}{{\hat{a}}_{m}.}}}}}} & (71) \end{matrix}$

The second part of the first term results in a frequency shift of the JPA modes due to off-resonant coupling with the JJ and only leads to a renormalization of the energies.

The second term in the above expression is the desired four-body coupling between the JPAs. The four-body coupling strength

defined in the manuscript can be written in terms of circuit parameters as

$C = {E_{J}\frac{\varphi_{c}^{4}}{\varphi_{0}^{4}}{\frac{g_{1}g_{2}g_{3}g_{4}}{\Delta_{1}\Delta_{2}\Delta_{3}\Delta_{4}}.}}$

As an example, choosing E_(J)/2π=600 GHz, ϕ_(c)=0.12ϕ₀, g_(k)/Δk˜0.12 we estimate

/2π=63 KHz. For a typical strength of Kerr nonlinearity E_(J)/2π=600 KHz this leads to

/K˜0.1. The last term gives rise to a cross-Kerr interaction between the JPAs. As discussed in the following section, if the amplitude of the coherent states forming the computational subspace is large, then this term does not affect the structure of the energy spectrum.

Effect of the Cross-Kerr Coupling Between the JPAs

In the computational subspace, the cross-Kerr coupling between the JPAs can be written â_(k) ^(†)â_(k)â_(m) ^(†)â_(m)=|α₀|⁴e^(−4|α) ⁰ ^(|) ² {circumflex over (σ)}_(k,x)⊕{circumflex over (σ)}_(m,x)+const., where σ_(k,x) is the Pauli operator |1

0|+|0

1|. If α₀ is large then e^(−4|α) ⁰ ^(|) ² →0 and the cross-Kerr term only leads to a constant shift in energy without inducing any errors in the encoding. This can be confirmed by numerically evaluating the energy spectrum, for example, for the frustrated three spin problem on a single plaquette. For

|α₀|³>J, we expect that, at the end of the adiabatic protocol, the ground state is triple-fold degenerate {0, 0, 1

, |0, 1, 0

, |1, 0, 0

}, where |0/1

=|±α₀

. However, in presence of the cross-Kerr terms, we find that that the degeneracy is lifted by ˜0.005K if α₀=√2. If, on the other hand, α₀=√3, then the lift in the degeneracy reduces to 0.0004K. This confirms that as α₀ increases, the errors due to the cross-Kerr terms decrease.

Furthermore, to ensure that the cross-Kerr terms do not induce additional dephasing in the presence of single-photon loss, we repeat the numerical simulations for the problem of three coupled spins embedded on a plaquette with these terms included and determine the average success probability. The numerical simulations are limited by the size of the Hilbert space and we take α₀=√2 with the time-dependent Hamiltonian

$\begin{matrix} {{\hat{H} = {{\left( {1 - \frac{t}{\tau}} \right){\hat{H}}_{i}} + {\left( \frac{t}{\tau} \right){\hat{H}}_{p}}}},} & (72) \\ {where} & \; \\ \begin{matrix} {{\hat{H}}_{i} = {{\sum\limits_{k = 1}^{3}\left( {{\delta_{0}{\hat{a}}_{k}^{\dagger}{\hat{a}}_{k}} - {K\; {\hat{a}}_{k}^{\dagger 2}{\hat{a}}_{k}^{2}}} \right)} - \left( {{C\; {\hat{a}}_{1}^{\dagger}{\hat{a}}_{2}^{\dagger}{\hat{a}}_{3}{\hat{a}}_{4}} + {h.c.}} \right) -}} \\ {{{C{\sum\limits_{k,{m = 1}}^{3}{{\hat{a}}_{k}^{\dagger}{\hat{a}}_{k}{\hat{a}}_{m}^{\dagger}{\hat{a}}_{m}}}},}} \\ {{\hat{H}}_{p}^{LHZ} = {\sum\limits_{k = 1}^{3}\left\{ {{\left( {1 - f} \right)\delta_{0}{\hat{a}}_{k}^{\dagger}{\hat{a}}_{k}} - {K\; {\hat{a}}_{k}^{\dagger 2}{\hat{a}}_{k}^{2}} + {ɛ_{p}\left( {{\hat{a}}_{k}^{\dagger 2} + {\hat{a}}_{k}^{2}} \right)} +} \right.}} \\ {\left. {J\left( {{\hat{a}}_{k}^{\dagger} + {\hat{a}}_{k}} \right)} \right\} - \left( {{C\; {\hat{a}}_{1}^{\dagger}{\hat{a}}_{2}^{\dagger}{\hat{a}}_{3}{\hat{a}}_{4}} + {h.c.}} \right) - {C{\sum\limits_{k,{m = 1}}^{3}{{\hat{a}}_{k}^{\dagger}{\hat{a}}_{k}{\hat{a}}_{m}^{\dagger}{\hat{a}}_{n}}}}} \\ {{\hat{H}}_{fixed} = {{{- K}\; {\hat{a}}_{4}^{\dagger 2}{\hat{a}}_{4}^{2}} + {{ɛ_{p}\left( {a_{4}^{\dagger 2} + a_{4}^{2}} \right)}.}}} \end{matrix} & \; \end{matrix}$

In contrast to Eq.(36) in the main text, we have included here the cross-Kerr terms. In addition, we have included additional detuning to the problem Hamiltonian ∝ (1−f) in order to remove the above mentioned lifting of degeneracy for small α₀. In the example presented here we use f=0.7. The average success probability for all the eight possible problems on the plaquette, shown in FIG. 22, effectively does not change compared to the case when the Σ_(k,m=1) ³â_(k) ^(†)â_(k)â_(m) ^(†)â_(m) term is neglected.

Tunable Four-Body Coupling with a Josephson Ring Modulator

An alternative way to implement a four-body interaction in a tunable way is by using an imbalanced shunted Josephson Ring Modulator (JRM) as illustrated in FIG. 23. The JRM consists of 3 orthogonal mutually interacting modes {circumflex over (ϕ)}_(x), {circumflex over (ϕ)}_(y) and {circumflex over (ϕ)}_(z) ^(10,11), which also couple with the JPA modes. The Hamiltonian can be expressed as

$\begin{matrix} {{\hat{H}}_{c} = {{\omega_{x}{\hat{a}}_{x}^{\dagger}{\hat{a}}_{x}} + {\omega_{y}{\hat{a}}_{y}^{\dagger}{\hat{a}}_{y}} + {\omega_{z}{\hat{a}}_{z}^{\dagger}{\hat{a}}_{z}} + {\sum\limits_{{a = x},y,z}{\sum\limits_{i = 1}^{4}{g_{i}^{\alpha}\left( {{{\hat{a}}_{i}^{\dagger}{\hat{a}}_{\alpha}} + {{\hat{a}}_{\alpha}^{\dagger}{\hat{a}}_{i}}} \right)}}} + {{U_{J}\left( {{\hat{\varphi}}_{x},{\hat{\varphi}}_{y},{\hat{\varphi}}_{z}} \right)}.}}} & (73) \end{matrix}$

In the above expression, â_(α) are the JRM mode operators and in terms of the zero point flux fluctuation, {circumflex over (ϕ)}_(α)=ϕ_(α)(â_(α)+â_(α) ^(†)). The coupling rate is g_(i) ^(α)=e²ϕ₀ ²/(2

ϕ_(α)ϕ_(i)). The potential U_(J) represents the interaction between the JRM modes and is expressed as

$\begin{matrix} {{U_{J} = {- {E_{J}\left\lbrack {{2\mspace{11mu} \cos \mspace{11mu} \left( \frac{\varphi_{x} - \varphi_{y}}{2\varphi_{0}} \right)\mspace{11mu} \cos \mspace{11mu} \left( {\frac{\varphi_{z}}{\varphi_{0}} + {3\Phi_{ex}}} \right)} + {2\mspace{11mu} \cos \mspace{11mu} \left( \frac{\varphi_{x} + \varphi_{y}}{2\varphi} \right)\mspace{11mu} {\cos \left( {{- \frac{\varphi_{z}}{\varphi_{0}}} + \Phi_{ex}} \right)}}} \right\rbrack}}},} & (74) \end{matrix}$

where 3Φ_(ex) and Φ_(ext) are the unit-less external flux applied to the big and small loops respectively of the JRM. Note that one should subtract the second order term of each mode from the potential but, for simplicity, we omit these terms here because the correction to the frequencies are small. We now choose the external flux to be Φ_(ex)=π/2 such that

$\begin{matrix} {U_{J} = {{- 4}E_{J}\mspace{11mu} \cos \mspace{11mu} \left( \frac{\varphi_{x}}{2\varphi_{0}} \right)\mspace{11mu} \cos \mspace{11mu} \left( \frac{\varphi \; y}{2\varphi_{0}} \right)\mspace{11mu} \sin \mspace{11mu} {\left( \frac{\varphi_{z}}{\varphi_{0}} \right).}}} & (75) \end{matrix}$

The above expression for U_(J) is substituted in Eq.(73) to obtain a complete expression for the coupling Hamiltonian.

It is now possible to provide an overview for the generation of a tunable coupling between the JPA modes: the frequencies are designed such that the JPA modes are dispersively coupled only to the x-modes, and a classical drive of frequency ω_(d) on the far detuned z-mode triggers the four-body coupling. The z-mode is driven by applying fields with equal strength, but opposite phases to the capacitors

_(x) and

_(y) as indicated by the dark and light arrows FIG. 23. Since there is no drive to the Y-mode, it can be dropped from the Hamiltonian. As a result, the total Hamiltonian can be written as

$\begin{matrix} {\hat{H} = {{\sum\limits_{k = 1}^{4}\left\lbrack {{\hat{H}}_{{JPA},k} + {g_{k}^{x}\left( {{{\hat{a}}_{l}^{\dagger}{\hat{a}}_{x}} + {{\hat{a}}_{x}^{\dagger}{\hat{a}}_{k}}} \right)} + {g_{k}^{z}\left( {{{\hat{a}}_{k}^{\dagger}{\hat{a}}_{z}} + {{\hat{a}}_{z}^{\dagger}{\hat{a}}_{k}}} \right)}} \right\rbrack} + {E_{J}\frac{{\hat{\varphi}}_{x}^{2}}{2\varphi_{0}^{3}}{\hat{\varphi}}_{z}} - {E_{J}\frac{{\hat{\varphi}}_{x}^{4}}{96\varphi_{0}^{5}}{{\hat{\varphi}}_{z}.}}}} & (76) \end{matrix}$

Furthermore, if Δ_(k)=ω_(x)−ω_(r,k)>>g_(k), then it is possible to apply a dispersive unitary transformation Û=exp[−i(g₁/Δ₁)â_(x) ^(†)â₁−i(g₂/Δ₂)â_(x) ^(†)â₂+i(g₃/Δ₃)â_(x) ^(†)â₃+i(g₄/Δ₄)â_(x) ^(†)â₄+h.c.] to the total Hamiltonian. As mentioned before, the z-mode is driven classically by a field of frequency ω_(d) and we therefore replace {circumflex over (ϕ)}_(z) by the classical amplitude 2ϕ_(z)√{square root over (n)} cos(ω_(d)t), where n is the number of photons in the mode z. If ω_(d)=ω_(p,1)+ω_(p,2)+ω_(p,3)−ω_(p,4) then it is possible to eliminate the fast rotating terms and the resulting Hamiltonian is

$\begin{matrix} {{{\hat{H}}_{plaquette} \approx {{\sum\limits_{k = 1}^{4}\left( {{\hat{H}}_{{JPA},k} - {\frac{\left( g_{k}^{x} \right)^{2}}{\Delta_{k}^{x}}{\hat{a}}_{k}^{\dagger}{\hat{a}}_{k}}} \right)} - {C_{jrm}\left( {{{\hat{a}}_{1}^{\dagger}{\hat{a}}_{2}^{\dagger}{\hat{a}}_{3}^{\dagger}{\hat{a}}_{4}} + {h.c.}} \right)}}},} & (77) \\ {\mspace{79mu} {where}} & \; \\ {\mspace{79mu} {C_{jrm} = {E_{J}\sqrt{n}\frac{\varphi_{x}^{4}\varphi_{z}}{4\varphi_{0}^{5}}{\frac{g_{1}g_{2}g_{3}g_{4}}{\Delta_{1}\Delta_{2}\Delta_{3}\Delta_{4}}.}}}} & (78) \end{matrix}$

Note that, in the computational basis, the interaction term

_(jrm)(â₁ ^(†)â₂ ^(†)â₃ ^(†)â₄+h.c.) can be expressed as 2

_(jrm)Re[α₀ ³α₀*]{circumflex over (σ)}_(z,1){circumflex over (σ)}_(z,2){circumflex over (σ)}_(z,1){circumflex over (σ)}_(z,3){circumflex over (σ)}_(z,4), which is the desired four-body coupling.

By taking E_(J)/2π=860 GHz, g_(k)/Δ_(k)=0.12, ϕ_(x)/ϕ₀=ϕ_(z)/ϕ₀=0.12 and n=2.225, it is possible to obtain a four-body coupling strength C_(jrm)/2π=1.7 KHz. Note that this is a higher-order coupling compared with the fixed one analyzed in Supplementary Note 4 and therefore is an order of magnitude smaller. The advantage of this scheme, however, is that it is tunable and that the coupling strength can be increased by increasing √n, which is proportional to the strength of the applied microwave drive. The coupling could also be increased by increasing the zero-point flux fluctuations ϕ_(x) and ϕ_(z). Moreover, in addition to amplitude-tunable four-body coupling, the classical drive also provides a control for the phase or parity of the four-body coupling. Changing the phase of the drive by π, for example, will also change the phase of the four-body coupling coefficient

_(jrm)→−

_(jrm). This configuration can therefore be used to implement the odd-parity LHZ scheme.

It will be understood that in practice a quantum processor will include some form of controller which will be used to “apply drives”, and some form of detector which will be used to perform the readout (homodyne or heterodyne detection), and that the controller and the detector can be separate devices, or integrated as modules of a same device or system.

Using technology available at the time of filing the patent application, the core KNO circuit can need to be operated at very low temperatures, e.g. a few milli-Kelvins, which can be achieved with dilution refrigerators, for instance. It will be understood by persons skilled in the art that this will change as new technological developments become available, and may allow to greatly simplifying the actual preferred setup, however such a low temperature core setup will now be described for the purpose of providing a tangible example.

In such a setup, the controller can include commercially available microwave generators which can operate at room temperature and pass through various other commercially available input electronics to reach the core KNO circuit. The input electronics can ensure that noise at room temperature does not enter the device being operated at very low temperatures. Standard devices known to persons having ordinary skill in the art can be used. Alternately, low temperature generators or on-chip sources of field may be used if and when they become available.

For homodyne or heterodyne detection, again the output from the core KNO circuit passes through output electronics (amplifiers, circulators etc) allowing the signal to exit the dilution refrigerator at room temperature. These signal are mixed with a strong carrier (one, two or more) or drives such as local oscillators at the frequency of the output signal but at a different phase. The phase can have an effect analogous to deciding what “quadrature” of output field is being measured. Again, this can be done using known techniques.

In different embodiments, the input electronics and the output electronics can be more or less intermeshed or distinct.

FIG. 24 shows an example of such a quantum processor 10. The quantum processor 10 has a controller 12 connected to the core KNO circuit 16 via input electronics 14. Moreover, the quantum processor 10 includes a detector 20 receiving an output of the core KNO circuit 16 via output electronics 18.

In this specific example wherein the KNOs operate based on microwave radiation, the controller 12 includes a waveform generator, a microwave source and an I/Q mixer. The reader includes an I/Q mixer, a microwave source, and an analog to digital converter.

The input electronics can include attenuators, filters, etc. The output electronics can include circulators, filters, amplifiers, etc.

Such electronic components are commercially available. For instance, Agilent™ provides function generators, Tektronix™ provides waveform generators, Marki™ provides I/Q mixers, Pamtech™ provides circulators and XMA™ provides attenuators.

The actual setup can widely vary from one application to another. For instance, depending on the underlying core KNO circuit, one may need different power at different frequencies, and the bandwidth of filters, circulators, etc. and the amount of attenuation can be adapted on this basis. While such technologies are not widespread, they are well known to persons skilled in this specific area of art, and examples are presented in some publications such as “Confining the state of light to a quantum manifold by engineered two-photon loss”, Dec. 16, 2014, by Leghtas et al, https://arxiv.org/pdf/1412.4633.pdf (see Fig. S1), “Coherent oscillations inside a quantum manifold stabilized by dissipation”, Nov. 15, 2017, by Touzard et al, https://arxiv.org/pdf/1705.02401.pdf (see Fig. SS1), “Deterministic Quantum State Transfer and Generation of Remote Entanglement using Microwave Photons” Dec. 25, 2017 by Kurpiers et al, https://arxiv.org/pdf/1712.08593.pdf (see FIG. 1) and “Fault tolerant measurement of a quantum error syndrome” March 2018, by Rosenblum et al, https://arxiv.org/pdf/1803.00102.pdf (see Fig. S1).

As can be understood, the examples described above and illustrated are intended to be exemplary only. Indeed, as will be understood by persons having ordinary skill in the art in light of the above disclosure, the teachings of this description can be applied to other type of bosons than microwave photons, and other types of KNOs than KNRs can be used, with connectors selected as a function of the given application. For instance, one possible implementation uses a Josephson-parametric-amplifier (JPA) like setup. The JPA, is basically a SQUID embedded in a coplanar waveguide resonator. The two-boson drive can be provided by modulating flux through the SQUID loop, and the SQUID can also provide the Kerr-nonlinearity. Other implementations can use transmon (or single-Josephson junction) and cavities (e.g. 2D or 3D cavities). Transmons can be embedded in a coplanar waveguide cavity for instance. 3D cavities (resonators) are quite common. The transmon provides the Kerr-nonlinearity and a microwave drive applied through the transmon at the appropriate frequency can provide to the two-photon drive. Another possible implementation is with a Superconducting Nonlinear Asymmetric Inductive Element (SNAIL) embedded in 3d cavities. The external flux applied through the SNAIL is such that both the fourth and third order nonlinearities are large. A microwave drive applied at twice the frequency of the SNAIL would result in the desired two-photon drive, due to three-wave mixing coming from the third order nonlinearity. The fourth order nonlinearity gives the required Kerr term. Other applications can be based on optical photons. Indeed, there are several ways to realize a parametric oscillator in optical systems. For example, one way could be to use a non-linear crystal like periodically poled lithium niobate (PPLN) crystal. Another example is silica-based toroidal microcavities. Persons having ordinary skill in the art can design connectors for 4-body coupling without undue experimentation, for instance, there are many non-linear crystals which have a 4 wave mixing property which could be used as connectors while maintaining the conditions a+b=c+d. Other applications can be based on phonons. For instance, two coupled Kerr-nonlinear mechanical resonators sustaining phonons in symmetric and asymmetric vibration modes can be used. In this scenario, the two-boson drive can be obtained by modulating the spring constant of either mode with the application of an AC-voltage to induce stress from a piezoelectric transducer, for instance. Persons having ordinary skill in the art can design connectors for 4-body coupling without undue experimentation, for instance the mechanical resonators could be coupled to optical or micro-wave cavities and then the 4 way mixing could be performed via the optical or micro-wave cavities. Accordingly, the scope is indicated by the appended claims. 

What is claimed is:
 1. A method of quantum processing using a quantum processor comprising a plurality of Kerr non-linear oscillators (KNOs), each operably drivable by both i) a controllable single-boson drive and ii) a controllable two-boson drive, the method comprising simultaneously controlling a drive frequency and a drive amplitude of the controllable single-boson drives to define a problem, and a drive frequency and a drive amplitude of the two-photon drives to define the Hilbert space, in accordance with a protocol, said protocol including increasing the amplitude of the two-boson drive and reaching both amplitude conditions a) 4 times the amplitude of the two-boson drives being greater than the loss rate, and b) the amplitude of the two-boson drives being greater than the amplitude of the single-boson drive, and maintaining both amplitude conditions a) and b) until a solution to the problem is reached; and, reading the solution.
 2. The method of quantum processing of claim 1 wherein said reading the solution includes measuring the phase of at least some of the KNOs.
 3. The method of quantum processing of claim 2 wherein said measuring the phase is performed by homodyne detection.
 4. The method of claim 1 wherein the amplitude condition a) is 4 times the amplitude of the two-boson drives being at least 4 times greater than the loss rate.
 5. The method of claim 1 wherein the amplitude condition a) is 4 times the amplitude of the two-boson drives being at least 10 times greater than the loss rate.
 6. The method of claim 1 wherein the amplitude condition a) is 4 times the amplitude of the two-boson drives being at least 100 times greater than the loss rate.
 7. The method of claim 1 wherein the amplitude condition b) is the amplitude of the two-boson drives being at least two times greater than the amplitude of the single-boson drive.
 8. The method of claim 1 wherein the amplitude condition b) is the amplitude of the two-boson drives being at least four times greater than the amplitude of the single-boson drive.
 9. The method of claim 1, wherein the bosons are photons and the KNOs are Kerr non-linear resonators (KNRs).
 10. The method of claim 1, wherein the KNOs are arranged in a triangular lattice structure wherein the KNOs are arranged in a plurality of rows including a first row having a single KNO and subsequent rows each having a number of KNOs corresponding to the number of KNOs of the previous row plus one, and in which the KNOs are arranged in groups of nearest neighbor KNOs in which the KNOs of each group are locally interconnected to one another for boson exchange within the corresponding group via a corresponding connector, and wherein the KNOs of each group have individual frequencies a, b, c, d, different from one another while respecting a+b=c+d throughout the triangular lattice structure, the method further comprising: performing boson exchange within groups of nearest neighbors at corresponding coupling strengths and coupling constants, the KNOs of each group of nearest neighbors having a corresponding strength of Kerr-nonlinearity, wherein said protocol further includes controlling the drives in a manner that, for at least a portion of the protocol leading to the reaching of the solution i) each coupling strength is maintained greater than the amplitude of the corresponding single-boson drives and ii) each coupling constant is maintained smaller than the corresponding strengths of Kerr-nonlinearity.
 11. A quantum annealer comprising a plurality of Kerr non-linear oscillators (KNOs), each operably drivable by both i) a controllable single-boson drive and ii) a controllable two-boson drive, the KNOs being arranged in a triangular lattice structure wherein the KNOs are arranged in a plurality of rows including a first row having a single KNO and subsequent rows each having a number of KNOs corresponding to the number of KNOs of the previous row plus one; and a plurality of connectors, each connector connecting the KNOs in a manner to allow boson exchange between KNOs within groups of nearest neighbors.
 12. The quantum annealer of claim 11 wherein, in the triangular lattice structure, KNOs are arranged in groups of nearest neighbor KNOs in which the KNOs of each group are locally interconnected to one another for boson exchange within the corresponding group via a corresponding connector, and wherein in each group of nearest neighbors, the KNOs can have individual frequencies a, b, c, d, different from one another while respecting a+b=c+d throughout the triangular lattice structure.
 13. The quantum annealer of claim 12 wherein the triangular lattice structure are terminated by a plurality of fixed phase sources forming a termination row, the groups of nearest neighbors thus being either formed of four KNOs, or of three KNOs and a corresponding one of said fixed phase sources, wherein in the groups of nearest neighbors formed of three KNOs and a corresponding one of said fixed phase sources, the individual frequencies a, b, c, d, of the KNOs and of the fixed source are also different from one another while respecting a+b=c+d.
 14. The quantum annealer of claim 13 wherein the fixed phase sources are oscillators, driven in a manner to be maintained at a fixed phase.
 15. The quantum annealer of claim 13 wherein the fixed phase sources are coherent drives.
 16. The quantum annealer of claim 11 wherein the KNOs are Kerr non-linear resonators (KNRs) in which the bosons are photons.
 17. The quantum annealer of claim 11 wherein the two-photon drives include superconducting Josephson parametric amplifiers. 